Easy Tutorial
❮ Dom Obj Menuitem Met Doc Writeln ❯

Screen Object


Screen Object

The Screen object contains information about the client's display screen.

Note: There is no public standard for the screen object, but all browsers support it.


Screen Object Properties

Property Description
availHeight Returns the height of the screen (excluding the Windows taskbar)
availWidth Returns the width of the screen (excluding the Windows taskbar)
colorDepth Returns the bit depth of the color palette on the target device or buffer
height Returns the total height of the screen
pixelDepth Returns the color resolution of the screen (bits per pixel)
width Returns the total width of the screen
❮ Dom Obj Menuitem Met Doc Writeln ❯