Skip to content

Instantly share code, notes, and snippets.

@overwine
Created July 19, 2012 20:22
Show Gist options
  • Save overwine/3146516 to your computer and use it in GitHub Desktop.
Save overwine/3146516 to your computer and use it in GitHub Desktop.
My shitty scroller
$("#work").click(function() {
$('html, body').animate({
scrollTop: $("#vimeo").offset().top-300
}, 500);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment