Return to Snippet

Revision: 8682
at October 3, 2008 08:06 by conspirator


Updated Code
$(document).ready(function() {
	$('.backtotop').click(function(){
		$('html, body').animate({scrollTop:0}, 'slow');
	});
});

Revision: 8681
at October 2, 2008 20:48 by conspirator


Initial Code
$(document).ready(function() {
	$('.backtotop').click(function(){
		$('html, body').animate({scrollTop:0}, 'slow');
	});
});

Initial URL

                                

Initial Description

                                

Initial Title
jQuery Animated Scroll To Top

Initial Tags
textmate, jquery

Initial Language
Other