TOC PREV NEXT INDEX

Put your logo here!


window.open()


Opens a new window.

Syntax

window.open("URL", "name" [, "windowfeatures"]) 

Parameters

URL is a string that points to the window you want to open.

name is a string that names the new window.

windowfeatures is one or more of the following in a comma-separated list:

toolbar 
Toolbar is present 
location 
Locationbar is present 
directories 
 
status 
 
menubar 
XXX have to update this whole list XXX 
scrollbars 
 
resizable 
 
copyhistory 
 
width 
 
height 
 

Example

window.open("btest2.html", "bwin", "toolbar,status"); 

Notes

The name attribute is not a reference or the title of the window. It is used as a target to links and forms.

Specification

DOM Level 0. Not part of specification. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX