CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 66: | Line 66: | ||
$(".circlez, .animate_text").on("click", function( e ) { | $(".circlez, .animate_text").on("click", function( e ) { | ||
− | + | e.preventDefault(); | |
− | + | $("body, html").animate({ | |
− | + | scrollTop: $( $(this).attr('href') ).offset().top() | |
− | + | }, 600); | |
− | }); | + | }); |
− | + | //scrollTillBottom(); | |
} | } | ||
Revision as of 08:59, 1 September 2017