| Right click this window and select "view source" in order to copy the source for this script.
Screen Object
Use the Screen object of JavaScript to derive basic information about the
user's screen, such as dimensions.
Properties
Properties |
Description |
availHeight |
Specifies the height of the screen, in
pixels, minus interface features such as the taskbar in Windows. |
availWidth |
Specifies the width of the screen, in
pixels, minus interface features such as the taskbar in Windows. |
colorDepth |
The bit depth of the color palette
available for displaying images in bits per pixel. |
height |
The total height of the screen, in
pixels. |
pixelDepth |
Display screen color resolution (bits
per pixel). NS4/ NS6+ exclusive property. |
width |
The total width of the screen, in
pixels. |
|