Unit 7.5. Window and Document Objects

Window Object

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.

Table 7.7. Window Object Properties
Property Description
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 ...

Get Oracle® Web Application Programming for PL/SQL® Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.