Screen Object
Screen object
The Screen object contains information about the screen displayed by the client.
Note: There is no published standard that applies to the screen object, but it is supported by all browsers.
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 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 |