views:

630

answers:

1

I have tested the scrollTo() plugin, but I need a way to stop the scrolling animation, so I am looking at serialScroll().

Here is what I used with scrollTo:

$('#scroller').scrollTo('1000px', 3000);

My question is, how do I do this same thing with serialScroll? I can't get it to work the same way as scrollTo, isn't that what it is suppose to do, just add tons of extra options?!

+2  A: 
beggs
So, there is no way to stop a scroll animation DURING the animation? Similar to how the standard jQuery .stop() function stops an animation?
Nic Hubbard
@Nic, found how to get it to work as desired: http://jsbin.com/upavo/edit answer updated.
beggs
This is exactly what I needed, thank you!
Nic Hubbard