Home › Forums › CSS › Jquery Smooth scroll with extra animation help please please › Re: Jquery Smooth scroll with extra animation help please please
May 21, 2012 at 3:33 am
#103176
Taufik Nurrohman
Participant
Put easing after duration:
$('a[href^="#"]').click(function() {
$('html,body').animate({
scrollTop: $(this.hash).offset().top
}, 200, "swing");
return false;
});