User:BrandonXLF/ToTop.js

/*** To Top ***/

// Adds a link to got back to the top of the page from the footer // Documentation at en:w:User:BrandonXLF/ToTop // By en:w:User:BrandonXLF

$(function {	$('')		.html('Back to top')		.attr('id', 'footer-places-totop')		.on('click', function { $('html').animate({scrollTop: 0}); })		.appendTo('#footer-places'); });