Skip to content

Instantly share code, notes, and snippets.

@dagda1

dagda1/gist:419704

Created May 31, 2010
Embed
What would you like to do?
function scrollToTop() {
$('html, body').animate({ scrollTop: 0 }, 'slow');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.