Created
May 20, 2015 21:16
-
-
Save paulnicholsen27/92c88fc8cf290c14f28b 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
if (st > lastScrollTop){ | |
// downscroll code | |
$(".test-sticky_nav-hide #site-header-container").addClass( | |
"hide", 4000); | |
} else { | |
// upscroll code | |
$(".test-sticky_nav-hide #site-header-container").removeClass( | |
"hide", 4000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment