O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The window Object [2|3|I]

The window object is the top-level object for each window or frame and the parent object for the document, location, and history objects.

Properties

  • defaultStatus— A string value containing the default value displayed in the status bar.

  • frames— An array of objects for each frame in a window. Frames appear in the array in the order in which they appear in the HTML source code.

  • innerHeight()— Specifies the vertical size of the content area (in pixels). New in JavaScript 1.2 and later.

  • innerWidth()— Specifies the horizontal size of the content area (in pixels). New in JavaScript 1.2 and later.

  • length— An integer value indicating the number of frames in a parent window. (Not I.)

  • name— A string value containing the name of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required