jQuery Plugin For Smooth Mouse Scrolling - scrollSpeed

jQuery Plugin For Smooth Mouse Scrolling - scrollSpeed
File Size: 4.06 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

scrollSpeed is a super tiny jQuery plugin that provides smooth vertical scrolling as you scroll up/down the webpage with mouse wheel.

How to use it:

1. Include jQuery library and the jQuery scrollSpeed plugin in your project.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="jQuery.scrollSpeed.js"></script>

2. Call the plugin and setup the scroll step & speed options.

// $fn.scrollSpeed(step, speed, easing);
jQuery.scrollSpeed(100, 800);

Change log:

2015-02-21

  • added Easing Parameter

This awesome jQuery plugin is developed by nathco. For more Advanced Usages, please check the demo page or visit the official website.