Scroll page down to see animated fixed menu.
What you need to do is put the proper class to the body for example (ct-headroom–scrollUpMenu):
1 |
<body class="cssAnimate ct-headroom--scrollUpMenu"> |
We han have fixed menu, animated, hided etc. We can add the moment when navbar should disappear, show itself etc.
Javascript
1 2 3 |
<script src="../assets/plugins/headroom/headroom.js"></script> <script src="../assets/plugins/headroom/jQuery.headroom.js"></script> <script src="../assets/plugins/headroom/init.js"></script> |
The whole docs how to use ir properly, is in the_../assets/plugins/headroom/init.js