Thursday, April 4, 2013

Javascript Screen Object Properties


The Screen object is actually a JavaScript object, not an HTML DOM object..

Screen Object Properties
availHeight Returns the height of the display screen (excluding the Windows Taskbar)
availWidth Returns the width of the display screen (excluding the Windows Taskbar)
bufferDepth Sets or returns the bit depth of the color palette in the off-screen bitmap buffer
colorDepth Returns the bit depth of the color palette on the destination device or buffer
deviceXDPI Returns the number of horizontal dots per inch of the display screen
deviceYDPI Returns the number of vertical dots per inch of the display screen
fontSmoothingEnabledReturns whether the user has enabled font smoothing in the display control panel
Height The height of the display screen
logicalXDPI Returns the normal number of horizontal dots per inch of the display screen
logicalYDPI Returns the normal number of vertical dots per inch of the display screen
pixelDepth Returns the color resolution (in bits per pixel) of the display screen
updateInterval Sets or returns the update interval for the screen
Width Returns width of the display screen

No comments:

Post a Comment