jQuery Plugin for Smooth Scroll Effect | scrollit.js

smooth-scrolling-scrollit-jquery

scrollit.js is a very simple jQuery script that smoothly scrolls to the target. Increases user experience and makes your website.

smooth scrolling jquery, smooth scroll js demo, jquery smooth scroll to div, smooth scroll javascript

How to make use of it:

1. Load the jQuery library and jQuery scrollit.js into the document.

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

2. Load jQuery UI for additional mitigation effects.

<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>

3. Merge scrollit.js

function scrollIt(element, easing, offset, callback)
  {
    $('html, body').animate({ scrollTop: ($(element).offset().top) + offset}, 1500, easing);
    
    if(callback && (typeof(callback) === "function") )
      {
        callback();
      }
  }

Basic Smooth Scroll Plugin with jQuery, scrollit Plugin/Github


See Demo And Download

Official Website(umbertino): Click Here

This superior jQuery/javascript plugin is developed by umbertino. For extra Advanced Usages, please go to the official website.