1var HEADER_OVERLAY = function(){ 2 var $wrap; 3 var header_height = ''; 4 var resize_time = {}; 5 6 var is_init = false; 7 var init = function(){ 8 9 if(is_init) 10 return false; 11 is_init = true; 12 $(window).on('resize.header_overlay',function(){ 13 if(resize_time) { 14 clearTimeout(resize_time); 15 } 16 resize_time = setTimeout(function() { 17 $(this).trigger('header_overlay_resize_end'); 18 }, 500); 19 }); 20 setTimeout(function() { 21 setOverlayHeight(); 22 }, 500); 23 24 $(window).off('header_overlay_resize_end').on('header_overlay_resize_end',function(){ 25 setOverlayHeight(); 26 }); 27 $('body').on('section_overlay_change',function(){ 28 setOverlayHeight(); 29 }); 30 }; 31 32 var setOverlayHeight = function(){ 33 $wrap = $('#doz_header'); 34 header_height = $wrap.height(); 35 36 //DO SOMETHING 37 38 $('.header_overlay ._section_first').css('cssText',"padding-top : "+header_height+'px !important;'); 39 $('.header_overlay ._section_first.visual_section .op').css('cssText',"padding-top : "+header_height+'px !important;'); 40 $('.header_overlay ._section_first.visual_section').css('cssText',"padding-top : "+0+'px !important;'); 41 }; 42 43 return { 44 'init' : function(){ 45 init(); 46 } 47 } 48}();
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.