Codesnipp.it Social Code Sharing

Andrew Rowland

Scroll to top

by Andrew Rowland on Oct 26, 2011

$('#someAnchor').click(function() { $('html, body').animate({ scrollTop:0 }, 'fast'); return false; });

Can't see the comments? Please login first :)