We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89066fe commit 9f17ca9Copy full SHA for 9f17ca9
js/main.js
@@ -48,6 +48,15 @@ jQuery(document).on('ready', function() {
48
scrollTop: jQuery("#tg-main").offset().top + offset
49
}, 2000);
50
});
51
+
52
+ /* -------------------------------------
53
+ ADD ANIMATIONS TO SECTION SCROLL
54
+ -------------------------------------- */
55
+ $('a[href*=\\#]').on('click', function(event){
56
+ event.preventDefault();
57
+ $('html,body').animate({scrollTop:$(this.hash).offset().top}, 700);
58
+ });
59
60
/* -------------------------------------
61
NEXT EVENT COUNTER
62
-------------------------------------- */
0 commit comments