otnj2ee
07-16-2007, 08:27 PM
In IE v6, for the strict mode,
document.documentElement.clientHeight returns the size for the Window
while
document.body.clientHeight returns the size for the Document
1)What is the difference between this window and the document? Does the Window count in the top menu bar and the bottom status bar while the Document does not?
2) How should I understand this clientHeight? Does it indicate the available viewing area of the browser window? or else?
Thanks
Scott
document.documentElement.clientHeight returns the size for the Window
while
document.body.clientHeight returns the size for the Document
1)What is the difference between this window and the document? Does the Window count in the top menu bar and the bottom status bar while the Document does not?
2) How should I understand this clientHeight? Does it indicate the available viewing area of the browser window? or else?
Thanks
Scott