SHARE
TWEET

Untitled

a guest Jun 25th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(".smoothJumpTo").on("click", function(e) {
  2.   e.preventDefault();
  3.   $("html, body").animate({
  4.     scrollTop: $($.attr(this, "href")).offset().top - 15
  5.   }, 500);
  6. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top