HTML and CSS Reference
Table 10.4 Properties of the window Object (continued)
What It Describes
The window that opened the current window.
Indicates a window that contains another window (used with
Displays information about the screen, such as height, width (in
Refers to the current window. For all windows, the self and window
properties of a window object are synonyms for the current
window, and you can optionally use them to refer to the current
Specifies a temporary message in the status bar, resulting user
The topmost window containing a particular window (used with
Identifies the current window being referenced, synonymous with
The window object also has a number of methods that define its behavior, listed in
Table 10.5, such as how to open, close, scroll, and clear a window.
Table 10.5 Methods of the window Object
What It Does
Creates a triangular dialog box with a message in it.
Removes focus from the window.
Clears a previously set interval timer.
Clears a previously set timeout.
Closes a window.
Creates a dialog box for user confirmation.
Gives the focus to a window.
open(url, name, [options])
Opens a new window and returns a new window
Creates a dialog prompt box to ask for user input.