JS Screen Object
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
     Bookmark and Share
 
CSGNetwork
Snippets
Calculators
Top Free Apps
Home
Back



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.


Bookmark and Share
Registered® Trademark™ and Copyright© 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved