Hi guys,
It's been a little overdue, but I've finally had some spare time to update our jQuery Scroll to Top plugin after some great feedback from our readers. Thanks.
In the new version, I've included the options to choose your speed as well as support for the excellent jQuery Easing plugin (version 1.3 is included in the download pack, but please remember to check the jQuery Easing homepage for the latest version!)
If you're new to the plug-in, please look at the original post for set up instructions.
For those upgrading, grab the latest version at the end of this post, which contains an example set up.
You can extend the options by using the following:
$("#toTop").scrollToTop({
speed: "fast",
ease: "easeOutBounce"
});
You can see the full list of easing options at the jQuery Easing homepage. For speed, you can use the usual "slow", "normal", "fast" or millisecond timing. Of course, you can use one or the other, or none at all.
Enjoy!
Version 2.0: scroll-to-top-v2.zip (25.67 kb)
Update: Version 3 now released!