Click to See Complete Forum and Search --> : Window.open question


mh53j_fe
03-24-2003, 11:49 AM
I need to launch a new window that is maximized and can not be resized. Here is what I have tried:
windowFeatures = "resizable = no";
newWindow = window.open "../html_app/apframe.html",n_win,windowFeatures)

On my PC at home (W2K OS, IE5.5, the app launches a maximized new window and you can not resize it.
On my PC at work (W2k OS, IE 5.0), the app launches a new window that is not maximized and you can resize the window.
On another PC running XP and IE6.0, the app launches a new window that is not maximized and can not be resized.

What gives here? I need to ensure that when I launch the new window, the window is maximized and can not be resized. Any suggestions????

Thanks in advance for your help.

khalidali63
03-24-2003, 11:56 AM
Originally posted by mh53j_fe
........
windowFeatures = "resizable = no";
newWindow = window.open ("../html_app/apframe.html",n_win,windowFeatures)


Where are you setting th esize for window???

You are not,hence if it takes up full screen at any of th ecomputers then there si something else wrong.
by default a window opened like this will be of the size that you have last closed the IE at.

And there should be a bracket afoter open statement
window.open()

Khalid

gil davis
03-25-2003, 05:46 AM
For the features to work correctly, there cannot be any spaces in the string.