Changes

JavaScript Window Object

752 bytes added, 17:20, 9 May 2007
JavaScript window Object Properties
* '''window.frames[]''' - If the window contains frames this array holds the arrary of frame objects (see [[JavaScript Arrays]] details on accessing arrays).
 
* '''window.name''' - Windows opened by a script must be given a name. This property contains the name of the corresponding window object.
 
* '''window.opener''' - When a window has been opened in a script contained in another window, this property of the child window contains a reference window which opened it.
 
* '''window.parent''' - When working with frames in a window this property contains a reference to the window object that contains the frame.
 
* '''window.screen''' - A property that contains infdormation about the screen on which the window is displays (such as resolution, color depth etc).
 
* '''window.self''' - A reference to the current window.
 
* '''window.top''' - A reference to the top-level window when working with frames.
== Opening and Closing Browser Windows ==