Created
July 22, 2016 09:22
-
-
Save floscr/3e7cd4f93a326d44799ae7d4110d3be4 to your computer and use it in GitHub Desktop.
Window Scroll Top Distance
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
window.pageYOffset || document.documentElement.scrollTop) - (document.documentElement.clientTop || 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment