You are here: irt.org | About | Feedback | 4328 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q1575
Sent by
Alexander Skwar on December 23, 2002 at 18:58:48:
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.
Other feedback on 'irt.org FAQ Knowledge Base Q1575' - show all