1jQuery(function() { 2 jQuery(window).on("scroll", function() { 3 if(jQuery(window).scrollTop() > 50) { 4 jQuery(".site-header").addClass("header-scrolled"); 5 } else { 6 //remove the background property so it comes transparent again (defined in your css) 7 jQuery(".site-header").removeClass("header-scrolled"); 8 } 9 }); 10});
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.