Feedback on: irt.org FAQ Knowledge Base Q1575
Comments:
This is just plain wrong.
In netscape, innerHeight returns the height of the window.
document.body.clientHeight returns the length of the *document* in pixels, not the browser window height.
Worth:
Very worth reading
Comments:
the only thing is that it does not work in Netscape 6.02, i think because NS 6 doesn't onderstand the hieght thingy...
Any option to make it work in NS6?
Worth:
Worth reading
Length:
Just right
Technical:
Just right
Comments:
The answer given is wrong. In IE (6), document.body.clientHeight does not return the same as window.innerHeight returns on Netscape >= 6.1.
window.innerHeight returns the height of the visible "HTML" area, whereas document.body.clientHeight returns the COMPLETE height of the client area. That's a big difference!
When the browser window is resized, so that only a few pixels of the client area is visible, IE will still return the complete height of the body. Mozilla on the other hand, returns just the height of what is visible.
I'm still searching for a way in IE to get the representation of window.innerHeight.