Window Object Properties
Gets a Boolean value indicating whether a window has been closed or not.
Sets or returns the default text in the status bar of a window. Only Opera.
Gets the Document object for the window.
Gets an array of all the frames in the current window.
Gets the History object for the window.
Sets or gets the inner height of a window’s content area.
Sets or gets the inner width of a window’s content area.
Gets the number of frames in a window.
Gets the Location object for the window.
Sets or gets the name of a window.
Gets the Navigator object for the window.
Gets a reference to the window that created the window.
Sets or gets the outer height of a window, including toolbars and scrollbars.
Sets or gets the outer width of a window, including toolbars and scrollbars
Gets the pixels the current document has been scrolled horizontally from the upper left corner. No IE.
Gets the pixels the current document has been scrolled vertically from the upper left corner. No IE.
Gets the parent window of the current window.
Gets the Screen object for the window.
Gets the x coordinate of the window relative to the screen. No Firefox.
Gets the y coordinate of the window relative to the screen. No Firefox.
Gets the x coordinate of the window relative to the screen. No IE.
Gets the y coordinate of the window relative to the screen. No IE.
Gets the current window.
Sets the text in the status bar of a window. Only Opera.
Gets the top most browser window.
Window Object Methods
Displays an alert with a message and an OK button.
Removes focus from the current window. No Opera. No Chrome.
Clears a timer set with setInterval().
Clears a timer set with setTimeout().
Closes the current window.
Displays a dialog box with a message and an OK and a Cancel button.
Creates a pop-up window. IE only.
Sets focus to the current window.
Moves a window relative to its current position.
Moves a window to the specified position.
Opens a new browser window.
Prints the content of the current window.
Displays a dialog box that prompts the visitor for input.
Resizes the window by the specified pixels. No Opera. No Chrome.
Resizes the window to the specified width and height.
Scrolls the content by the specified number of pixels.
Scrolls the content to the specified coordinates.
Calls a function or evaluates an expression at specified intervals (in milliseconds).
Calls a function or evaluates an expression after a specified number of milliseconds.
Paul is a programming enthusiast who loves to write about all things technical. Whether it's networking, operating systems or programming, Paul enjoys delving into the nuts and bolts of technology and explaining it in a way that everyone can understand. When he's not writing articles for ITGeared.com, Paul likes to spend his time tinkering with computers and playing video games.
Paul is a passionate programmer who enjoys writing about all things technical. He likes getting into the nitty-gritty of technology and describing it in a way that anybody can understand.