jQuery scrollTop/scrollTo blur?
I'm not sure if this is how it works anyway.
I want it so when the user scrolls, after having unclicked the scroll bar and they have scrolled to their desination I can run a function or something. Not running a function 'as' they are scrolling.
Not sure if that makes s开发者_JAVA技巧ense but I appreciate any attempted answers!
Not that I know of, as it's a tricky event to trigger. In my case my scroll-wheel (which I always use to scroll web pages) is actually jerky as it stop/starts scrolling.
You could set a delay after which a function is triggered, and if the page continues to scroll then reset the delay. An example can be found in this thread.
Hope that helps
精彩评论