Last active
August 29, 2015 14:05
-
-
Save tdrach/63e376787972c3eee1d8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var deviceHeight = $(window).height(); | |
var scrollValue = 0; | |
$(window).scroll(function() { | |
scrollValue = $(window).scrollTop(); | |
if(scrollValue > deviceHeight) { | |
console.log("Blow shit up"); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment