/ Published in: jQuery
Expand |
Embed | Plain Text
<a onclick="jQuery('html, body').animate( { scrollTop: 0 }, 'slow' );" href="javascript:void(0);"> Go to top </a>
Comments
Subscribe to comments
You need to login to post a comment.

Better option (imo): http://snipplr.com/view/43825/
wooow!! the best short snippet ever! Thank you!