This is the closest solution to open a window in maximized mode.
If this is not sufficient, you can open it in fullscreen:
window.open("URL","winName","fullscreen=3Dyes");
/Robert
-----Ursprungligt meddelande-----
Fr=E5n: Corgall [mailto:corgall@y...]
Skickat: den 6 november 2002 02:13
Till: JavaScript HowTo
=C4mne: [javascript_howto] Re: Maximize pop up window
hello,
try to use this
window.open("URL","winName",'toolbar=3D0,left=3D0,top=3D0,right=3D0,width
=3D'+scre
en.width+',height=3D'+(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=3D? height=3D?');
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=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
---------------------------------
Do you Yahoo!?
HotJobs - Search new jobs daily now
---
Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20