irt.org FAQ Knowledge Base Q1575
Alexander Skwar on December 23, 2002 at 18:58:48:
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.
Other feedback on 'irt.org FAQ Knowledge Base Q1575' - show all