Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/enriikke/suave
- Owner: enriikke
- License: mit
- Created: 2013-08-03T01:23:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-13T02:16:56.000Z (over 11 years ago)
- Last Synced: 2024-11-04T05:42:22.202Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 125 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 :)