最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

JavaScript入門教程(5) js Screen屏幕對象

 更新時間:2009年01月31日 23:27:46   作者:  
這是基本JavaScript的屏幕對象

screen 屏幕對象 反映了當(dāng)前用戶的屏幕設(shè)置。
width 返回屏幕的寬度(像素數(shù))。
height 返回屏幕的高度。
availWidth 返回屏幕的可用寬度(除去了一些不自動隱藏的類似任務(wù)欄的東西所占用的寬度)。
availHeight 返回屏幕的可用高度。
colorDepth 返回當(dāng)前顏色設(shè)置所用的位數(shù) - 1:黑白;8:256色;16:增強(qiáng)色;24/32:真彩色
下面是英文的Navigator瀏覽器的屏幕對象:
availHeight:minus permanent or semipermanent user interface features displayed by the operating system:such as the Taskbar on Windows.
availWidth:Specifies the width of the screen, in pixels, minus permanent or semipermanent user interface:features displayed by the operating system, such as the Taskbar on Windows.
colorDepth:The bit depth of the color palette, if one is in use; otherwise, the value is derived from screen.pixelDepth.
height:Display screen height.
pixelDepth:Display screen color resolution (bits per pixel).
width:Display screen width.

相關(guān)文章

最新評論

渑池县| 磐安县| 福清市| 皮山县| 辉县市| 鞍山市| 普兰店市| 石首市| 新乡市| 屏南县| 舞钢市| 于都县| 平顺县| 高尔夫| 南溪县| 青川县| 绩溪县| 沙湾县| 淄博市| 汝州市| 于田县| 玉山县| 曲麻莱县| 深圳市| 鸡东县| 康定县| 安国市| 黔江区| 甘南县| 霍城县| 敖汉旗| 南靖县| 贡觉县| 安溪县| 隆昌县| 禄丰县| 乌什县| 密山市| 黄浦区| 岱山县| 青神县|