PDA

View Full Version : popup window


Jason
02-13-2003, 01:13 AM
I want a popup window to appear and automatically be the entire length of the leftside of the screen. Is there a way to do that? I need it to work in mozilla, netscape, and IE.

Jason

A1ien51
02-13-2003, 05:15 AM
look at this:


http://www10.brinkster.com/A1ien51/scripts/PopUpWinGenV3.htm

Jason
02-13-2003, 09:17 PM
That link still doesn't answer my question. Is there a way for the popup to be the entire length of the screen. That link only sets a number to it instead of say 100% of the leftside of the window. Is there anyway to find out the clients screen dimensions to know how long the leftside is. The MaxHeight button on A1lien51's page sets it to 600 which is bigger then my screen and thus the window can't be resized.

Jason

king443
02-14-2003, 02:26 PM
try this...


var parm = "left=0,width=" + window.screen.availWidth;
window.open("some.html", "", parm);


You may have to adjust the width - the right window border may go out of the screen.

hope it helps

Jason
02-14-2003, 10:34 PM
didn't work. Thanks though. I wrote a small script that solved my problem based on some other variables.


Jason