[RESOLVED] Popup Window Q.?
Hey Flash-Kit gang!...
Weve all seen a million popup window scripts around the place... My question is about the new windows width & height?.... in all demo's there set by pexils... eg. 600px by 400px...
Was woundering/desperately hoping, is there anyway to have it open by "%" x & y instead???..
----------detailed--------
Have built a self learning site in a basic frameset.. only to find you cant open sites like Facebooks and Googles etc in frames?... Bummer!!!.. lol...
So am thinking I have no choice but to open these links in a popup window?.. Say the new (to me) modal style window, at say 95% by 95%.. Unless someone could suggest other way?.......
Cheers B
Great script!.. Thx mate!
Im on the same pg dude... the more I push it, greater the risk of compatibility issues etc!.... Im wanting to find out just how hard I can push ie.9?.. so safari, fox and google are already out!..
Id rather support the underdogs like fox's open source.. but ie.9 seems to have the most bite at the mo........
I dont want to take another sec of your time dude.. so grateful for your help and dont want to push my luck....
But if its something you can do in 2sec's and me 2 weeks?.. lol....
Q. How to merge the script I want to use with your great script?...
Mine: Centered Modal Window
Code:
<script>
function doThis()
{
alert("what?");
}
function createModal()
{
var url_source="https://www.facebook.com/login.php"; /* define if you want a page popped into it */
var modal_dim="dialogWidth:800px; dialogHeight:500px; center:yes";
var x = window.showModalDialog(url_source,"",modal_dim);
}
</script>
<a href="javascript:createModal()">create a modal window</a>
Thanks again for helping a Rookie!
ps - it has to be a modal window as I'll be going fullscreen in html.. removing the risk of popup windows getting lost in the background!