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