Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Maximize pop up window


Message #1 by mkoyenov@s... on Tue, 5 Nov 2002 21:24:40
hello, 
try to use this window.open("URL","winName",'toolbar=0,left=0,top=0,right=0,width='+screen.width+',height='+(screen.height-55))
as you can see from window hight i less 55 pixel for taskbar.
i hope it will help you.
cornelio
 
 
 
 mkoyenov@s... wrote:Hello,
How do I open a pop up window that would open maximized. In other words, 
on ANY screen resolution, i would like my pop up window to open full 
screen(maximized).
window.open('URL','win','width=? height=?');

for instance if I am running 800 x 600 resolution on my PC and if I set 
my height and width 600 and 800 respectively, then another user who is 
running 1024 x 768 would not get a maximized screen.

How do I set my pop up window to its maximum regardless of the resolution 
that is set on a PC?

thanks
Mark

---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


---------------------------------
Do you Yahoo!?
HotJobs - Search new jobs daily now

  Return to Index