Created
May 3, 2017 13:45
-
-
Save icodesido/32297b1810c9e3878049e373a2675930 to your computer and use it in GitHub Desktop.
Scroll spy
This file contains hidden or 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
| $(function(){ | |
| $(window).on('scroll', function(){ | |
| console.log($(this).scrollTop()); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment