• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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 HTML 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:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint