34,333
edits
Changes
→JavaScript window Object Properties
== JavaScript window Object Properties ==
The JavaScript window object contains a number of properties that can be inspected and used in a script:
* '''window.closed''' - Used when handling multiple windows, this property indicates whether a window has been closed or not.
* '''window.defaultstatus / window.status''' - ''defaultstatus'' specifies the default message displayed in the browser status bar. ''status'' specifies a temporary message to display in the browser status bar in place of the default. Disabled in many browsers.
* '''window.frames[]''' - If the window contains frames this array holds the arrary of frame objects (see [[JavaScript Arrays]] details on accessing arrays).
== Opening and Closing Browser Windows ==