Screen object
Screen object
The Screen object contains information about the client's display screen.
Note: There is no public standard applied to 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 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. |