Return to Snippet

Revision: 65819
at January 23, 2014 12:41 by tucq88

Initial Code
// Back To Top
$(document.body).animate({scrollTop : 0},800);
return false;

//Create an anchor tag
<a class="top" href="#">Back to top</a>

Initial URL

Initial Description
Button that onclick with scroll to top of the page

Initial Title
Back to top button

Initial Tags
link, jquery, button

Initial Language