The screen Object [4|I]

The screen object describes (or specifies) the characteristics of the current screen.

Properties

  • availHeight— Specifies the height of the screen in pixels (minus static display constraints set forth by the operating system). New in JavaScript 1.2 and later.

  • availWidth— Specifies the width of the current screen in pixels (minus static display constraints set forth by the operating system). New in JavaScript 1.2 and later.

  • colorDepth— Specifies the number of possible colors to display in the current screen. New in JavaScript 1.2 and later.

  • height— Specifies the height of the current screen in pixels. New in JavaScript 1.2 and later.

  • pixelDepth— Specifies the number of bits (per pixel) in the current screen. New in JavaScript ...

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.