Scrolling lib for those one page or massive pages
- Jquery >= 1.8
Add this javascript on your html code ( after jquery definition )
$(document).ready(function (){
Scrolly.init();
});Or the full config (just overiding default)
$(document).ready(function (){
Scrolly.init(
{
//Classes that points the elements
"selector" : "scrolly",
//Adjust the speed
"speed" : 1000,
}
);
});Quite easy to use, just add the class scrolly (or the one you chosen before)
<a class=" **scrolly**" href="sectionID">