w3pop.com :: ÍøÂçѧԺ :: HTML DOM :: DOM Screen ¶ÔÏó
The Screen object is an object that can be accessed through the screen property of the Window object.
Screen¶ÔÏó¿Éͨ¹ýwindow¶ÔÏóµÄscreenÊôÐÔÀ´·ÃÎʵ½
The Screen object contains information about the client's display screen.
Screen¶ÔÏó°üº¬ÁËÓйؿͻ§ÏÔʾÆÁÄ»µÄÐÅÏ¢
IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).
| Property ÊôÐÔ |
Description ÃèÊö |
IE | F | N | W3C |
|---|---|---|---|---|---|
| availHeight | Returns the height of the display screen - excluding the Windows Taskbar ·µ»ØÏÔʾÆÁÄ»µÄ¸ß - ²»°üº¬´°¿ÚµÄÈÎÎñÌõ |
4 | 1 | 4 | |
| availWidth | Returns the width of the display screen - excluding the Windows Taskbar ·µ»ØÏÔʾÆÁÄ»µÄ¿í¶Á - ²»°üº¬´°¿ÚµÄÈÎÎñÌõ |
4 | 1 | 4 | |
| bufferDepth | Sets or returns the bit depth of the color palette in the off-screen bitmap buffer ÉèÖûò·µ»ØµãÕóͼÏñËØµÄλԪÊý´óС |
4 | |||
| colorDepth | Returns the bit depth of the color palette on the destination device or buffer »ñÈ¡ÓÃÓÚÄ¿±êÉèÖûò»º³åÇøµÄÑÕɫÿÏñËØÎ»Êý |
4 | 1 | 4 | |
| deviceXDPI | Returns the number of horizontal dots per inch of the display screen ÉèÖûò»ñȡϵͳÆÁĻˮƽÿӢ´çµãÊý(DPI)µÄÊýÖµ¡£ |
6 | |||
| deviceYDPI | Returns the number of vertical dots per inch of the display screen ÉèÖûò»ñȡϵͳÆÁÄ»´¹Ö±Ã¿Ó¢´çµãÊý(DPI)µÄÊýÖµ¡£ |
6 |
ÆÀÂÛ (0)
All