Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

Stop scroll animation if user grabs a scroll bar


Project:ScrollTo
Version:1.4.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is there a way of stopping a scroll animation, if the user grabs a scroll bar and scrolls manually?

I have the page to scroll to a certain point on window load, but currently if you grab the scroll bar before the animation is finished, you get a bit of a fight between you and the animation.

$(window).load(function () {$.scrollTo('240px',3500, 'easeInOutQuad');});