July 1998
Intermediate to advanced
1456 pages
65h 5m
English
scrollHeight, scrollWidth — NN n/a IE 4 DOM n/a
Read-only
The meaning of these two properties is ambiguous based on Microsoft’s description and the way they’re implemented in the Windows and Macintosh versions of Internet Explorer 4. My best guess is that these properties are intended to measure the height and width (in pixels) of the content of an element even when some of the content cannot be seen unless scrolled with scrollbars. These properties are not available in IE 4/Macintosh.
var midPoint = document.all.myCaption.scrollHeight/2
Positive integer or zero.
None.
Read now
Unlock full access