Answers for "jquery on click scroll to 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 "Javascript"

Browse Popular Code Answers by Language