1function Init_BA_Header() { 2 AvailHeight = $(window).outerHeight(); 3 AvailWidth = $(window).outerWidth(); 4 IsMobile = false; 5 6 HeaderHeight = $('.js-mainHeader').height(); 7 if (HeaderHeight) { 8 AvailHeight = AvailHeight - HeaderHeight; 9 } 10 11 if (AvailWidth <= 980) { 12 TextZoneHeight = AvailHeight / 100 * 30; 13 ImageZoneHeight = AvailHeight / 100 * 70; 14 IsMobile = true; 15 16 } else { 17 TextZoneHeight = AvailHeight / 100 * 40; 18 ImageZoneHeight = AvailHeight / 100 * 60; 19 IsMobile = false; 20 } 21 22 23 24 25 $('.BAHeader').each(function() { 26 $(this).find('.TextArea').css({'height': TextZoneHeight + 'px'}); 27 $(this).find('.ImageArea').css({'height': ImageZoneHeight + 'px'}); 28 TAHeight = $(this).find('.TextAreaAdjust').outerHeight(); 29 30 TextZonePaddingTop = TextZoneHeight - TAHeight - 40; 31 32 $(this).find('.TextAreaAdjust').css({'padding-top': TextZonePaddingTop + 'px'}); 33 if (IsMobile == true) { 34 35 $(this).find('.ImageAreaDesktop').hide(); 36 $(this).find('.ImageAreaMobile').show(); 37 38 } else { 39 $(this).find('.ImageAreaDesktop').show(); 40 $(this).find('.ImageAreaMobile').hide(); 41 } 42 43 }); 44 45 46 47} 48 49window.setTimeout('Init_BA_Header()',1000);
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.