CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 85: | Line 85: | ||
$("body, html").animate( | $("body, html").animate( | ||
− | /* Styles | + | /* Styles |
{ scrollTop: $( $(this).attr('href') ).offset().top }, | { scrollTop: $( $(this).attr('href') ).offset().top }, | ||
− | /* Speed 'slow', 'fast', number of miliseconds (default:400) | + | /* Speed 'slow', 'fast', number of miliseconds (default:400) |
-4000, 'linear' | -4000, 'linear' | ||
); | ); |
Revision as of 10:14, 1 September 2017