window.screen.availWidth 返回当前屏幕宽度(空白空间) 
window.screen.availHeight 返回当前屏幕高度(空白空间) 
window.screen.width 返回当前屏幕宽度(分辨率值) 
window.screen.height 返回当前屏幕高度(分辨率值) 
window.document.body.offsetHeight; 返回当前网页高度 
window.document.body.offsetWidth; 返回当前网页宽度

相关文章:

  • 2021-08-24
  • 2022-12-23
  • 2021-09-22
  • 2021-06-07
  • 2021-06-18
  • 2021-09-26
  • 2022-01-07
猜你喜欢
  • 2021-07-08
  • 2021-11-18
  • 2022-01-12
  • 2021-12-21
  • 2021-06-15
  • 2021-05-27
相关资源
相似解决方案