Answers for "jquery scroll with animation to every id"

2

jquery scroll to id

$('html, body').animate(
    {
      scrollTop: $($(this).attr('href')).offset().top,
    },
    500,
    'linear'
  )
Posted by: Guest on January-29-2020

Code answers related to "jquery scroll with animation to every id"

Code answers related to "Javascript"

Browse Popular Code Answers by Language