Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //this is the javascript for your transition
- $(function () {
- $(document).scroll(function () {
- var $nav = $(".navbar-fixed-top");
- $nav.toggleClass('scrolled', $(this).scrollTop() > $nav.height());
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement