1// header transition 2$(function() { 3 4 if (window.getComputedStyle(document.getElementById('topheader')).position != "fixed") 5 return; 6 7 var header = $('.white-header'); 8 var hidethis = $('#hidethis'); 9 10 $(window).scroll(function() { 11 var scroll = $(window).scrollTop(); 12 13 if (scroll > 150) { 14 header.removeClass('white-header').addClass('opaque-header'); 15 hidethis.addClass('hideme'); 16 } else { 17 header.removeClass('opaque-header').addClass('white-header'); 18 hidethis.removeClass('hideme'); 19 20} 21 22 }); 23 24});
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.