Screen object
Screen object
The Screen object contains information about the client display screen.
Note: There is no public standard applied to screen objects, but all browsers support them.
Screen object properties
Property | Description |
---|---|
availHeight | Return the height of the screen (excluding Windows taskbar) |
availWidth | Returns the width of the screen (excluding 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 (number of bits per cell) |
width | Returns the total width of the screen |