document.write("屏幕宽度"+screen.width);
document.write("屏幕高度"+screen.height);//(整个电脑的屏幕的高)上面和下面不是有效区的也被包括了

document.write("可用高度"+screen.availHeight)//除了上面的任务栏 其他的全部算上 包括地址
document.write("可用宽度"+screen.availWidth)
 

相关文章:

  • 2021-10-01
  • 2021-12-19
  • 2022-12-23
  • 2021-11-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2021-12-13
  • 2022-12-23
相关资源
相似解决方案