Home › Forums › CSS › Previous CSS Snippet Jquery Smooth Scroll Help › Re: Previous CSS Snippet Jquery Smooth Scroll Help
May 19, 2012 at 8:09 am
#103093
Taufik Nurrohman
Participant
Try to use the simple method:
$(function() {
$('a[href^="#"]').click(function() {
$('html,body').animate({scrollTop:$(this.hash).offset().top}, 1000);
return false;
});
});