Answers for "jquery scroll window to top animate"

1

jquery scroll to top of div animate

$("#yourDivID").animate({scrollTop:0}, "smooth");
Posted by: Guest on January-19-2021
1

jquery scrolltop animate

var body = $("html, body");
body.stop().animate({scrollTop:0}, 500, 'swing', function() { 
   alert("Finished animating");
});
Posted by: Guest on March-18-2021

Code answers related to "jquery scroll window to top animate"

Code answers related to "Javascript"

Browse Popular Code Answers by Language