中文字幕亚洲欧美一区_国产JIZZJIZZ免费看_亚洲av大码在线_亚洲黄色一级毛片_野花影视大全在线观看免费_欧美一区二区三区免费不卡_欧美日韩国产在线精品_国产福利盒子在线看片_精品国产人成在线_日韩欧美动漫一区在线

咨詢電話:024-31891684

網(wǎng)站建設(shè)|注冊|登錄 | 易勢大連分公司

沈陽網(wǎng)站制作易勢最專業(yè)!

 

JavaScript中的Screen屏幕對象當(dāng)前位置:首頁>主要服務(wù)>網(wǎng)站制作>JS/Jquery

這是基本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.

        本文由沈陽網(wǎng)站制作公司-沈陽易勢科技提供,如需轉(zhuǎn)載請注明出處。

        沈陽易勢科技擁有專業(yè)設(shè)計團(tuán)隊為企業(yè)提供網(wǎng)站制作、網(wǎng)絡(luò)平臺開發(fā)服務(wù)。

         

         

上一條資訊|返回欄目頁|下一條資訊

沈陽網(wǎng)站制作--網(wǎng)站前臺效果

易勢網(wǎng)站制作,以DIV+CSS為主,js/jQuery為輔,制作利于優(yōu)化,頁面美觀的優(yōu)質(zhì)網(wǎng)站!

top

網(wǎng)絡(luò)策劃公司|新浪官方微博|大連網(wǎng)站建設(shè)