1jQuery(function () { 2 console.log('Document prêt !'); 3 headerActive(); 4 $(window).on('scroll', headerActive); 5}); 6 7// Scroll Header class 8function headerActive() { 9 var fromTop = $(window).scrollTop(); 10 if( fromTop > 0 ) { 11 $('header nav').addClass('shrink'); 12 } else { 13 $('header nav').removeClass('shrink'); 14 } 15}
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.