The window object is the topmost object in the Document Object Model hierarchy. A window object can represent either a browser window or a frame. Table 7.7 lists most of the properties of the window object.
Table 7.8 lists most of the methods of the window object.
|document||Contains information about the current document and provides methods for displaying HTML output to the user.|
|frames||An array reflecting all the frames in a window.|
|history||Contains information on the URLs that the user has visited within a window.|
|innerHeight||Specifies the vertical dimension, in pixels, of the window’s content area.|
|innerWidth||Specifies the horizontal ...|