Skip to content

joshfitzgerald/smooth-scroll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Smooth Scroll

A simple script to animate scrolling to anchor links.

How It Works

Getting started with Smooth Scroll is really easy. View the online tutorial or dig through the index.html file.

Changelog

  • v2.3 (August 27, 2013)
    • Added missing semicolons.
    • Defined animationStop variable once, add values later.
    • Activated strict mode.
    • Wrapped in IIFE.
  • v2.2 (August 17, 2013)
    • Now you can set the animation speed with the data-speed attribute. (ex. data-speed="400")
  • v2.1 (August 17, 2013)
    • Improvement animation function interval for smoother animation.
    • Updated to allow for scrolling up the page.
  • v2.0 (August 14, 2013)
    • Converted to vanilla JavaScript.
    • Removed dependency on jQuery.
  • v1.1 (June 7, 2013)
    • Switched to MIT license.
  • v1.1 (May 18, 2013)
    • Added jQuery noConflict mode.
    • Updated tutorial.
  • v1.0 (January 24, 2013)
    • Initial release.

License

Smooth Scroll is free to use under the MIT License.

About

A simple vanilla JS script to animate scrolling to anchor links.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published