当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > HTML DOM availHeight 属性
The availHeight property returns the height of the client's display screen - excluding the Windows Taskbar.
availHeight属性可返回客户端显示屏幕的高度 - 不包括窗口的任务条
screen.availHeight |
<html> <body>
<script type="text/javascript">
document.write("<p>Available Height: ")
document.write(screen.availHeight + "</p>")
</script>
</body> </html> |
Detect details about the client's screen
探测出一些有关客户端屏幕的信息
评论 (0) All