Get the window height

Posted by Mitchan Adams on Stack Overflow See other posts from Stack Overflow or by Mitchan Adams
Published on 2010-06-10T08:08:35Z Indexed on 2010/06/10 8:12 UTC
Read the original article Hit count: 205

Filed under:

This is frustrating me. It should be something really simple but I can't get it to work IE. I want to get the height of the current window. Not the scroll height, not the document height, the actual window height. I've tried window.innerHeight which returns undefined and document.documentElement.clientHeight which gives the scroll height.

© Stack Overflow or respective owner

Related posts about JavaScript