Revision: 49690
Updated Code
at August 19, 2011 07:23 by n19ht
Updated Code
$('#toTop').click(function(){ $('html, body').animate({scrollTop:0}, 'slow'); return false; }); $(window).scroll(function(){ if ($(window).scrollTop() > 0) $('#toTop').fadeIn('fast', function(){}); if ($(window).scrollTop() == 0) $('#toTop').fadeOut('fast', function(){}); });
Revision: 49689
Updated Code
at July 28, 2011 06:05 by n19ht
Updated Code
$('#toTop').click(function(){ $('html, body').animate({scrollTop:0}, 'slow'); return false; });
Revision: 49688
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 28, 2011 06:05 by n19ht
Initial Code
$('#toTop').click(function(){ $('html, body').animate({scrollTop:0}, 'slow'); return false; });
Initial URL
Initial Description
Esto permite hacer un suave scroll hacia el top de la página.
Initial Title
Scroll vertical lento jquery
Initial Tags
jquery
Initial Language
jQuery