Screen JavaScript Tutorial

The screen object provides an access to various properties of the user's screen.
These properties are often accessed and used sizing windows that various scripts open.
Properties of the screen Object
ItemDescription
AvailHeightReturns the pixel height of the user's screen, minus the toolbar or any other "permanent" objects.
availWidthReturns the pixel width of the user's screen, minus the toolbar or any other "permanent" objects.
colorDepthReturns the maximum number of colors the user's screen can display. This is in bit format.
heightReturns the pixel height of the user's screen.
pixelDepthReturns the number of bits per pixel of the user's screen. Internet Explorer did not support this property at the time of this writing and returns undefined.
widthReturns the pixel width of the user's screen.