Lightweight jQuery extension for modifying vertical scrolling speed in modern web browsers.
Include the latest version of jQuery and jQuery.scrollSpeed.js
in the <head>
of your HTML document:
<script src="jQuery.min.js"></script>
<script src="jQuery.scrollSpeed.js"></script>
Reference the scrollSpeed()
method and modify the step
and speed
parameters to create the desired scrolling effect. The step
parameter defaults to 120
units, while speed
defaults to 400
milliseconds. Check out the live demo: code.bynathan.com/scrollSpeed
$(function() {
jQuery.scrollSpeed(120, 400);
});
– Google Chrome
– Safari ( Desktop )
– Internet Explorer ( Disabled for performance )
– Firefox
– Opera ( Not Tested )
If you discover any issues or have questions regarding usage, please send a message to mail@bynathan.com or find me on twitter @ByNathan.