|
@@ -42,27 +42,6 @@
|
|
|
}, 500);
|
|
}, 500);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- $(document).on('click', 'a.nav-link.scroll-link[data-target*="#"]', function(e){
|
|
|
|
|
- e.preventDefault();
|
|
|
|
|
-
|
|
|
|
|
- $('html, body').animate({
|
|
|
|
|
- scrollTop: $( $.attr(this, 'data-target') ).offset().top
|
|
|
|
|
- }, 500);
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- /*$(document).on('click', 'a.nav-link.scroll-link[href*="\#"]', function(e) {
|
|
|
|
|
- e.preventDefault();
|
|
|
|
|
-
|
|
|
|
|
- var target = $(this).attr('href'), $target = $(target); {
|
|
|
|
|
- $('html, body').stop().animate({
|
|
|
|
|
- 'scrollTop' : $target.offset().top - 50
|
|
|
|
|
- }, 900, 'swing', function() {
|
|
|
|
|
- window.location.hash = target;
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
- });*/
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
</body>
|
|
</body>
|