Minimal jQuery Animated Scroll To Plugin

Minimal jQuery Animated Scroll To Plugin
File Size: 11 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT

Just another lightweight jQuery scroll to plugin that allows you to scroll to any part of the page with a smooth scroll animation. Also can be used together with jQuery easing plugin for amazing easing animations.

How to use it:

1. Add an anchor link pointing to the target position you would like to scroll to.

<a href="#demo"> Click me </a>
<p id="demo"> Target content </p>

2. Include the jQuery library together with jQuery Animate Scroll To and jQuery easing plugin (optional) in the Html document.

<script src=""></script>
<script src=""></script>
<script src="jquery-scroll-to.js"></script>

3. Initialize the plugin with one line of javascript.

animateAll: true

4. All the optional settings.

easing: 'swing',
duration: 1000,
offset: 0,
animateAll: false

This awesome jQuery plugin is developed by tongjieme. For more Advanced Usages, please check the demo page or visit the official website.