Creating Windows : Introduction : Window JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Window » Introduction »

 

Creating Windows












The open method can be used to create any primary or secondary window.








window.open("web.html""newWin""resizeable,menubar,toolbar");



This creates a window that is resizable, contains a menu bar, and has a toolbar.

The "web.html" is the file that will open in the newly created window.

"newWin" represents the name of the window object.

Other features include outerHeight, outerWidth, innerHeight, innerWidth, alwaysRaised, alwaysLowered, location, screenY, and screenX.

The features are specified in the parameters of the open function.





HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Window
» Introduction