Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
start animation when you reach certain element...
var top = $(this).scrollTop();
if(top > 150){
//do something after it scrolls down past 150px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment