...

View Full Version : Pop up dimensions for full screen display



forgottenglory
05-14-2007, 11:49 AM
Can anybody please tell me what is the pop up size that I need to specify, if want want a pop up to open in full screen on a 1024 x 768?

Thanks

Nischumacher
05-14-2007, 12:15 PM
var w = screen.width;
var h = screen.height;
var prop = 'height=' + h + ',width=' + w + ',top=0,left=0';
window.open('http://www.google.com',null,prop);

forgottenglory
05-14-2007, 12:48 PM
Thanks...will this code adjust the pop up dimensions for screen resolutions above 1024 x 768?

Nischumacher
05-14-2007, 01:06 PM
YeS...
iT TaKeS THe SCReeN DiMeNSioNS...
You MaY uSE screen.availWidth aND screen.availHeight instead of screen.width aND screen.height...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum