Scrollable div : how to detect scroll direction from OnScroll event for a scrollable div?

Posted by Shivanand Murthy on Stack Overflow See other posts from Stack Overflow or by Shivanand Murthy
Published on 2010-04-20T03:45:32Z Indexed on 2010/04/20 3:53 UTC
Read the original article Hit count: 427

Filed under:

How to detect the scroll direction for a scrollable div , From OnScroll event? I want to add 15 to scrollTop, if user scrolls up and subtract 15, if user scrolls down. Is it possible with out using JQuery?

© Stack Overflow or respective owner

Related posts about scrollbar