Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (_href === "#header")
- $("html, body").animate({scrollTop: 0 + "px"}, 3000);
- else
- $("html, body").animate({scrollTop: $(_href).offset().top - 60 + "px"}, 1000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement