Thursday 12 July 2007

JavaScript popup window features

Here are the window.open options for the JavaScript window.open method, just set =1 if you want them included or =0 if you want them hidden.

status
Determines if you want the status bar at the bottom of the window to be shown

toolbar
This shows/hides the standard browser bar i.e. the back and forward buttons amongst others.

location
The location bar where you enter url’s.

menubar
This shows or hides the menu bar for the browser.

directories
This shows or hides the directories toolbar – i.e. whats new etc.

resizable
Enables/disables the user to resize the browser window.

scrollbars
Enable the scrollbars if the document takes up more area than the window

height
The height of the window in pixels. (i.e.: height='550')

width
The width of the window in pixels.

No comments: