Almost done
This commit is contained in:
parent
b0a265ea24
commit
98ea090b9f
19 changed files with 2056 additions and 774 deletions
10
footer.php
10
footer.php
|
@ -41,6 +41,16 @@
|
|||
</footer><!-- .site-footer --> */ ?>
|
||||
</div><!-- .site-inner -->
|
||||
</div><!-- .site -->
|
||||
|
||||
<script type="text/javascript">
|
||||
// Displays and hides the top header bar on page scroll.
|
||||
jQuery(document).ready(function($) {
|
||||
$(window).on("scroll", function() {
|
||||
var fromTop = $(window).scrollTop();
|
||||
$('#header-bar').toggleClass("show", (fromTop > 200));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
|
|
Reference in a new issue