• clientWidth clientHeight等网页属性


    网页可见区域宽:document.body.clientWidth; 

    网页可见区域高:document.body.clientHeight; 

    网页可见区域宽:document.body.offsetWidth;(包括边线的宽)

    网页可见区域高:document.body.offsetHeight;(包括边线的宽)

    网页正文全文宽:document.body.scrollWidth; 

    网页正文全文高:document.body.scrollHeight; 

    网页被卷去的高:document.body.scrollTop; 

    网页被卷去的左:document.body.scrollLeft; 

    网页正文部分上:window.screenTop; 

    网页正文部分左:window.screenLeft; 

    屏幕分辨率的宽:window.screen.width; 

    屏幕分辨率的高:window.screen.height; 

    屏幕可用工作区宽度:window.screen.availWidth; 

    屏幕可用工作区高度:window.screen.availHeight;

  • 相关阅读:
    shell基础知识8-xargs命令
    shell基础知识7-字段分隔符与迭代器
    shell基础知识6-在不按回车键的情况下读入N个字符
    DevOps
    DevOps
    Jenkins
    Jenkins
    Jenkins
    Jenkins
    Gerrit
  • 原文地址:https://www.cnblogs.com/liaoliao985786516/p/5578665.html
Copyright © 2020-2023  润新知