1jQuery(document).ready(function($){ 2 3var flag = "up"; 4 5$(window).on("scroll", function () { 6 7 if ($(this).scrollTop() > 280) { 8 9 if (flag === "up") { 10 $("body").removeClass("header_fixed"); 11 $("body").removeClass("header_slide_up"); 12 $("body").addClass("header_slide_down"); 13 flag = "down"; 14 } 15 16 } else if($(this).scrollTop() < 280) { 17 18 if (flag === "down") { 19 $("body").removeClass("header_slide_down"); 20 $("body").addClass("header_slide_up"); 21 flag = "up"; 22 } 23 24 if ($(this).scrollTop() < 100) { 25 $("body").addClass("header_fixed"); 26 $("body").removeClass("header_slide_up"); 27 $("body").removeClass("header_slide_down"); 28 } 29 } 30 31}); 32 33 34});
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.