The window Object
The Web browser creates at least one window object for every document. Think of the window object as an actual window and the document object as the content that appears in the window. As briefly discussed in this chapter and then in more detail in Chapter 20, "Manipulating Windows and Frames with JavaScript," one document can create more than one window, using the window object's open() method.
window Object Properties
Your XHTML documents can access and manipulate a number of attributes of the current Web browser window through the window object. Some of the more useful window object properties are the following:
closed— Specifies whether a window has been closed (Boolean).
defaultStatus— The default message that appears in ...
Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.