|
|
Q90 Is there a way to open a new window using the window.open() method so that the window opens to a specified size?
irt.org | Knowledge Base | JavaScript | Window | Q90 [ previous next ] Q90 Is there a way to open a new window using the window.open() method so that the window opens to a specified size?Something like the following should do it:
The full syntax is: [windowVar = ][window].open("URL", "windowName", ["windowFeatures"])
Where windowFeatures is a comma-separated list of any of the following options and values: toolbar[=yes|no]|[=1|0] location[=yes|no]|[=1|0] directories[=yes|no]|[=1|0] status[=yes|no]|[=1|0] menubar[=yes|no]|[=1|0] scrollbars[=yes|no]|[=1|0] resizable[=yes|no]|[=1|0] width=pixels height=pixels You may use any subset of these options. Separate options with a comma. Do not put spaces between the options. Feedback on 'Q90 Is there a way to open a new window using the window.open() method so that the window opens to a specified size?' |
-- div -->
|