I\'d like my page to go to the top when certain anchor is clicked.
Here is how I tried to do it but it\'s not working, it\'s scrolling super fast.
you can set the time for scroll top
$('a[href=#top]').click(function(){ $('body').animate({ scrollTop: 0},4000);});