欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

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

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

screen 屏幕對(duì)象 反映了當(dāng)前用戶的屏幕設(shè)置。
width 返回屏幕的寬度(像素?cái)?shù))。
height 返回屏幕的高度。
availWidth 返回屏幕的可用寬度(除去了一些不自動(dòng)隱藏的類似任務(wù)欄的東西所占用的寬度)。
availHeight 返回屏幕的可用高度。
colorDepth 返回當(dāng)前顏色設(shè)置所用的位數(shù) - 1:黑白;8:256色;16:增強(qiáng)色;24/32:真彩色
下面是英文的Navigator瀏覽器的屏幕對(duì)象:
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)文章

  • DOM 事件流詳解

    DOM 事件流詳解

    這篇文章主要詳細(xì)介紹了DOM中的事件流,包括冒泡型事件、事件監(jiān)聽(tīng)、標(biāo)準(zhǔn)DOM事件監(jiān)聽(tīng)這三個(gè)方面,十分詳細(xì),推薦給大家。
    2015-01-01
  • js中基礎(chǔ)的數(shù)據(jù)類型詳解

    js中基礎(chǔ)的數(shù)據(jù)類型詳解

    這篇文章主要為大家介紹了 javascript中基礎(chǔ)的數(shù)據(jù)類型,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下,希望能夠給你帶來(lái)幫助
    2022-01-01
  • JavaScript 參考教程

    JavaScript 參考教程

    JavaScript 參考教程...
    2006-12-12
  • JavaScript 關(guān)于事件循環(huán)機(jī)制的刨析

    JavaScript 關(guān)于事件循環(huán)機(jī)制的刨析

    js里的事件循環(huán)機(jī)制十分有趣。從很多面試題也可以看出來(lái),考察簡(jiǎn)單的setTimeout也就是考察這個(gè)機(jī)制的,接下來(lái)本文帶你詳細(xì)了解它
    2021-11-11
  • javascript對(duì)象的使用和屬性操作示例詳解

    javascript對(duì)象的使用和屬性操作示例詳解

    這篇文章主要介紹了javascript對(duì)象的使用和屬性操作示例,需要的朋友可以參考下
    2014-03-03
  • 最新評(píng)論