jquery.smoothscroll

3.0.1 • Public • Published

jquery.smoothscroll

Get started

Install

$ yarn add jquery.smoothscroll

Load scripts

<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script src="/node_modules/jquery.smoothscroll/dist/jquery.smoothscroll.min.js"></script>

Setting

<script>
jQuery(function($) {
  $(document).SmoothScroll({
    target  : 'a[href^="#"]',
    duration: 1000,
    easing  : 'easeOutQuint'
  });
});
</script>

License

MIT

Package Sidebar

Install

npm i jquery.smoothscroll

Weekly Downloads

43

Version

3.0.1

License

MIT

Unpacked Size

305 kB

Total Files

10

Last publish

Collaborators

  • inc2734