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