The Screen Object
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 major browsers support it.
IE: Internet Explorer, F: Firefox, O: Opera.
Screen Object Properties
| Property |
Description |
IE |
F |
O |
| availHeight |
Returns the height of the display screen (excluding the Windows Taskbar) |
4 |
1 |
9 |
| availWidth |
Returns the width of the display screen (excluding the Windows Taskbar) |
4 |
1 |
9 |
| bufferDepth |
Sets or returns the bit depth of the color palette in the off-screen bitmap buffer |
4 |
No |
No |
| colorDepth |
Returns the bit depth of the color palette on the destination device or buffer |
4 |
1 |
9 |
| deviceXDPI |
Returns the number of horizontal dots per inch of the display screen |
6 |
No |
No |
| deviceYDPI |
Returns the number of vertical dots per inch of the display screen |
6 |
No |
No |
| fontSmoothingEnabled |
Returns whether the user has enabled font smoothing in the display control panel |
4 |
No |
No |
| height |
The height of the display screen |
4 |
1 |
9 |
| logicalXDPI |
Returns the normal number of horizontal dots per inch of the display screen |
6 |
No |
No |
| logicalYDPI |
Returns the normal number of vertical dots per inch of the display screen |
6 |
No |
No |
| pixelDepth |
Returns the color resolution (in bits per pixel) of the display screen |
No |
1 |
9 |
| updateInterval |
Sets or returns the update interval for the screen |
4 |
No |
No |
| width |
Returns width of the display screen |
4 |
1 |
9 |
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|