Skip to content

alextrob/SmoothAnchors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SmoothAnchors

Animated scrolling for internal anchor links

How to use it

Just include the jQuery library and SmoothAnchors.js, then add $().SmoothAnchors(); to your $(document).ready() function.

<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="SmoothAnchors.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $().SmoothAnchors();
    });
</script>

Demo

Here's a demo of the plugin in action: http://alextrob.github.io/SmoothAnchors/

About

A jQuery plugin to make internal anchor links scroll smoothly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published