Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

Open() Syntax, Parameters and Note

Note: Opens a new window.      Syntax:      objectName.open(param1, param2, param3, param4) Parameters:     param1   Optional; the URL of the document to display.                         If omitted, a blank window is opened.     param2   Optional; the name of the window.                         _blank,                         _media,                         _parent,                         _search,                         _self,                         _top,                         any string.     param3   Optional; the attributes for the new window.                         Where applicable, each attribute must be accompanied by its                         corresponding value, and each attribute-value pair must                         be separated by a comma.                         For a complete list of options, go to:                         http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp..     param4   Optional; true or false, indicating whether to replace the current                         document in the history list or to create a new entry for the new document.