Click to See Complete Forum and Search --> : Window resizing - need help


Neiro
07-26-2003, 06:24 PM
Hey.
I need some help here. My menu's and the general design of my homepage requires the windows to hold at least 750 pixels in the width. Can I somehow change the size of the current window with a script? like this.window.behavour.width=800 or something ?
All I know is that I don't want to open it all up in a new window just to get the right size.

Thanks in advance.
Neiro


Edit:typo

karayan
07-26-2003, 09:21 PM
You can use the window.resizeTo() method, like so:

this.resizeTo(width, height);

Neiro
07-27-2003, 05:14 AM
If I add that code the frame doesn't even load! Odd.

Does it support frames?