document.documentElement.clientWidth:取得浏览器页面可视区域的宽度

document.documentElement.clientHeight:取得浏览器页面可视区域的高度

screen.width:取得屏幕宽度

screen.height:取得屏幕高度

screen.availWidth:取得除任务栏外的屏幕宽度

screen.availHeight取得除任务栏外的屏幕高度

 

相关文章:

  • 2021-11-29
  • 2021-06-18
  • 2021-09-26
  • 2022-01-07
  • 2022-02-06
猜你喜欢
  • 2022-12-23
  • 2021-11-30
  • 2021-11-29
相关资源
相似解决方案