1(function($) { 2 3 var controller, 4 node = $('.wfp-header'); 5 6 function toggleHeader() { 7 8 var yPos = $(window).scrollTop(); 9 10 if ( yPos > 200 ) { 11 if ( ! node.hasClass('toggled') ) { 12 node.addClass('toggled'); 13 } 14 } else { 15 node.removeClass('toggled'); 16 } 17 } 18 19 $(window).on('scroll', toggleHeader); 20 toggleHeader(); 21 22 //_scrollMagic(); 23 24})(jQuery);
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.