/easeScroll

Jquery plugin to make mouse wheel smooth scroll

Primary LanguageJavaScript

easeScroll

Jquery plugin to make mouse wheel smooth scroll

This plugin make the html element scrollable with smooth.

Install and init

<script type="text/javascript" src="/path/to/src/jquery.easeScroll.js"></script>

Basic initialization:

$("html").easeScroll();

Custom options:

$("html").easeScroll({
  frameRate: 60,
  animationTime: 1000,
  stepSize: 120,
  pulseAlgorithm: !0,
  pulseScale: 8,
  pulseNormalize: 1,
  accelerationDelta: 20,
  accelerationMax: 1,
  keyboardSupport: !0,
  arrowScroll: 50
});