1.1.2 • Published 8 years ago

jquery-smoothscroller v1.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

jQuery-smoothScroller

NPM

SmoothScroller is a simple jQuery plugin to add a smooth scrolling transition effect to your page. It is extremely small being under a 1KB in size. When initialized it will detect all the anchor tags with id references and create a smoothscroll animation to the relevant tag.

To add to your project:

$ npm i -S jquery-smoothscroller

Then add it to your page:

<script src="node_modules/jquery-smoothscroller/smoothScroller.min.js"></script>

To initialize:

$(window).smoothScroller();

The options availible are:

defaults = {
    duration: 1000,
    easing: "swing",
    callback: function() {}
}
1.1.2

8 years ago

1.1.1

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago