Returns the amount of vertical space available to the window on the screen.
Syntax
iAvail = window.screen.availHeight
Example
if (window.screen.availHeight !== window.screen.height) {
// something's in the way!
// use available to size window
}
Specification
Specification | Status | Comment |
---|---|---|
CSS Object Model (CSSOM) View Module The definition of 'Screen.availHeight' in that specification. |
Working Draft |