'open()' Syntax, Parameters and Note : open « Javascript Methods « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Methods » open 
'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 new entry for the new document.
    

      
      
Related examples in the same category
1.'open()' Example
2.'open()' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.