Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Screen.availHeight

概述

返回浏览器窗口在屏幕上可占用的垂直空间,即最大高度。

语法

iAvail = window.screen.availHeight

示例

if (window.screen.availHeight !== window.screen.height) {
  // something's in the way!
  // use available to size window
}

规范

DOM Level 0 不属于任何标准.

文档标签和贡献者

 此页面的贡献者: teoli, AlexChao
 最后编辑者: AlexChao,