1jQuery(function( $ ){ 2 3 // Header Height 4 var navHeight = $('.nav-primary').outerHeight(); 5 var beforeheaderHeight = $('.before-header').outerHeight(); 6 var windowHeight = $(window).height(); 7 var newHeight = windowHeight - navHeight - beforeheaderHeight; 8 9 $('.front-page-header') .css({'height': newHeight +'px'}); 10 11 $(window).scroll(function(){ 12 13 if ($(document).scrollTop() > 100){ 14 15 $('.nav-primary').addClass('fixed'); 16 17 } else { 18 19 $('.nav-primary').removeClass('fixed'); 20 21 } 22 23 }); 24 25});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.