After some more great feedback I've decided to release version 3 of our jQuery Scroll to Top plugin.
There have been 2 main updates to this one:
1. Following user comments from v2, I've added the additional option of choosing when the scroll to top link appears. So you can choose for it to appear only after the user has scrolled down further than, say, 700 pixels.
Implementation of the new feature is easy. First of all, if you're new to the plug in, follow the original instructions to help get set up. (Plus you might want to have a look at version 2 for information on the speed and easing options.) Then, you can simply add the new option as follows:
$("#toTop").scrollToTop({
speed: "fast",
ease: "easeOutBounce",
start: 700
});
Easy!
2. The plugin now includes licensing information, as the script is now released under the open souce MIT License! Good news for all, so remember to comment and let me know if you make any cool updates to the script.
Also, feel free to post a link to your website if you're using the plugin! We'd love to see it.
scroll-to-top-v3.zip (25.74 kb)