irt.org Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt

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

You are here: irt.org | FAQ | JavaScript | Window | Q1575 [ previous next ]

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?'

©2013 Martin Webb

ArticlesFAQsGamesFeedback

FOLDOCRFCsInstant JavaScriptSoftwareBooksJavaScript Programmer's ReferenceAboutTop