1 2 3if (CZBOX_LAYOUT == 1) { 4 $('body').addClass('box_layout') 5} 6if (CZSTICKY_HEADER == 1) { 7 function stickyheader(){ 8 if ($(document).width() <= 991) { 9 // ---------------- Fixed header responsive ---------------------- 10 $(window).bind('scroll', function () { 11 if ($(window).scrollTop() > 220) { 12 $('.header-top').addClass('fixed'); 13 } else { 14 $('.header-top').removeClass('fixed'); 15 } 16 }); 17 } 18 else if($(document).width() >= 992) 19 { 20 $(window).bind('scroll', function () { 21 if ($(window).scrollTop() > 320) { 22 $('.header-top').addClass('fixed'); 23 } else { 24 $('.header-top').removeClass('fixed'); 25 } 26 }); 27 } 28 } 29 30 $(document).ready(function(){stickyheader();}); 31 $(window).resize(function(){stickyheader();}); 32}
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.