Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q1575

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


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.