amitabhaghosh197
6/1/2015 - 7:22 PM

Sroll and fixed height

Sroll and fixed height

 $(window).scroll(function(){
            if($this.scrollTop() > headerHt ){
                $('.top').addClass('shadow-below');
            } else if($this.scrollTop() < headerHt){
                 $('.top').removeClass('shadow-below');
            };
        });