亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

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:增強色;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)文章

  • DOM 事件流詳解

    DOM 事件流詳解

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

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

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

    JavaScript 參考教程

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

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

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

    javascript對象的使用和屬性操作示例詳解

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