0
I would like to know how to make the transition of this navbar look smoother
Javascript code used to perform it:
        var clientHeight = document.getElementById('header').clientHeight;
        $(function(){
            $(window).scroll(function(){
                if ($(this).scrollTop() > clientHeight)
                {
                    $('#navigation-bar').addClass('navbar-fixed-top');
                } else {
                    $('#navigation-bar').removeClass('navbar-fixed-top');  
                }
            });
        });

It’s a good solution, I would just change the style of the transition from opacity to a slide down. I think for menus it gets smoother.
– Leon Freire