当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > DOM Screen 对象

HTML DOM
DOM TableRow 对象
DOM Textarea 对象
DOM Window 对象

HTML DOM 中的 DOM Screen 对象


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 660 ::
收藏到网摘: n/a

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).

Screen 对象属性

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

登陆 | 还没注册?