Line 1,033: | Line 1,033: | ||
console.log(target); | console.log(target); | ||
− | animateScroll(target, -90); | + | $('html,body').animate ( |
+ | { | ||
+ | scrollTop: $(target).offset().top - 90 | ||
+ | },1000 ); | ||
+ | |||
+ | //animateScroll(target, -90); | ||
} | } |
Revision as of 22:38, 31 October 2017