Created
February 1, 2014 00:08
-
-
Save robflaherty/8745930 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
Change this: | |
$(function() { | |
$.scrollDepth(); | |
}); | |
To this: | |
jQuery(function() { | |
jQuery.scrollDepth(); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So - can I do this:
<script src="http://agoodtimewithwine.com/wp/wp-includes/js/jquery.scrolldepth.js"></script> <script> jQuery(function() { jQuery.scrollDepth({ elements: ['author-info']}); }); </script>I want it to track when it gets to the end of the page (I dont know why - i saw someone else did it - so I want to see how it ends up )