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

Q1575 What is the Internet Explorer equivalent of Netscape Navigator's window.innerheight and window.innerWidth?

irt.org | Knowledge Base | JavaScript | Window | Q1575 [ previous next ]

Q1575 What is the Internet Explorer equivalent of Netscape Navigator's window.innerheight and window.innerWidth?

It is document.body.clientWidth and document.body.clientHeight but the script accessing there properties of the body object must not be executed until after the body tag has rendered, i.e. use code triggered by the body tag's onLoad event handler.

Feedback on 'Q1575 What is the Internet Explorer equivalent of Netscape Navigator's window.innerheight and window.innerWidth?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.