Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // smooth on load page
- $(document).ready(function(){
- var urlHash = window.location.href.split("#")[1];
- if (urlHash.length > 0)
- $('html,body').animate({
- scrollTop: $('#' + urlHash).offset().top - 150
- }, 1000);
- });
Add Comment
Please, Sign In to add comment