document.body.scrollTop is always 0 in IE even when scrolling

Posted by Tony_Henrich on Stack Overflow See other posts from Stack Overflow or by Tony_Henrich
Published on 2010-04-26T22:04:10Z Indexed on 2010/04/26 22:13 UTC
Read the original article Hit count: 381

Filed under:
|

I am displaying the value of document.body.scrollTop in the status bar while moving the mouse. The value is always 0 in IE. Why is always 0? Is there another way to get how much the scroll bar has moved?

© Stack Overflow or respective owner

Related posts about html

Related posts about css