Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/enriikke/suave

Smooth scrolling for same-page links.
https://github.com/enriikke/suave

Last synced: 17 days ago
JSON representation

Smooth scrolling for same-page links.

Awesome Lists containing this project

README

        

Suave
=====

Suave makes it easier to apply smooth vertical scrolling to all of the same-page links on your website. Simply pass in all anchor tags and you are set. You can also select specific classes or IDs if you don't need it on all links.

## Usage

```javascript

// Apply to some links
$('.smooth-scroll').suave();

// Apply to all same-page links
$('a').suave();

```

## Dependencies

* jQuery: Suave was built using jQuery version 1.8.0 so anything from 1.8.0 and above should be good to go.

## License

Suave is under the MIT open source license. Check out the license file for more :)