Animate scroll
Animate scroll :
$('a[href="#hsForm_8ec99248-899e-4b52-bbf2-9194797a4a21_6497"]').on('click', function(event) {
var target = $(this.getAttribute('href'));
if( target.length ) {
event.preventDefault();
$('html, body').stop().animate({
scrollTop: target.offset().top
}, 1000);
}
});
Comments
Post a Comment