Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".smoothJumpTo").on("click", function(e) {
- e.preventDefault();
- $("html, body").animate({
- scrollTop: $($.attr(this, "href")).offset().top - 15
- }, 500);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement