Returns the amount of vertical space available to the window on the screen.
iAvail = window.screen.availHeight
if (window.screen.availHeight !== window.screen.height) { // something's in the way! // use available to size window }
Specification | Status | Comment |
---|---|---|
CSS Object Model (CSSOM) View Module The definition of 'Screen.availHeight' in that specification. | Working Draft |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/screen/availHeight