daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Dec 14th, 2017 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).ready(function(){
  2.   $('a[href^="#"]:not([href^="#help"]').on('click',function (e) {
  3.       e.preventDefault();
  4.       var target = this.hash,
  5.       $target = $(target);
  6.       $('html, body').stop().animate({
  7.           'scrollTop': $target.offset().top - 150
  8.       }, 1000, 'swing', function () {});
  9.   });
  10. });
RAW Paste Data
Top