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

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

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

screen 屏幕對象 反映了當(dāng)前用戶的屏幕設(shè)置。
width 返回屏幕的寬度(像素?cái)?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)文章

最新評論

永昌县| 平谷区| 正阳县| 奉新县| 莱芜市| 博客| 临颍县| 磴口县| 五华县| 和田市| 龙山县| 贡觉县| 含山县| 上杭县| 尉氏县| 丰都县| 正安县| 台北县| 响水县| 囊谦县| 虎林市| 瑞安市| 东阿县| 达州市| 哈巴河县| 焦作市| 田东县| 舞阳县| 淅川县| 英山县| 于都县| 滨海县| 秦皇岛市| 赞皇县| 习水县| 宝坻区| 托里县| 萨嘎县| 望谟县| 潞城市| 许昌市|