Fellows Program

//Use outerHeight() instead of height() if have padding var aboveHeight = $('#stickynav').offset().top; function stickynav_set() { //if scrolled down more than the header’s height if ($(window).scrollTop() > aboveHeight && $('#stickynav').css("display") != 'none' && !$("body").hasClass("layoutMobile") ){ // if yes, add “fixed” class to the
|