您好,欢迎访问一九零五行业门户网

JavaScript中的availHeight属性是什么意思?

使用screen.availheight属性来返回用户屏幕的宽度。结果将以像素表示,并且不包括任务栏功能。
示例您可以尝试运行以下代码来了解如何在javascript中使用screen.availheight属性:
演示
<!doctype html><html> <body> <script> document.write("height of the screen: "+screen.availheight); </script> </body></html>
以上就是javascript中的availheight属性是什么意思?的详细内容。
其它类似信息

推荐信息