Reply 172388 to: Smooth Scroll to anchor on page

Avatar: laranz
Laranz
Participant
September 14, 2017 at 04:09

Hi there,
I am delighted to assist you today. You can use this javascript code to get this feature.
$(‘a[href*=#]’).click(function(event){
$(‘html, body’).animate({
scrollTop: $( $.attr(this, ‘href’) ).offset().top
}, 500);
event.preventDefault();
});

Hope I was able to help you with your concern.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.