1(function($){ 2 if($('html').hasClass('ie7') || $('html').hasClass('ie8')) { 3 var bg_img_url = $('#full_screen_image').css('background-image').replace('url(', '').replace(')', ''); 4 5 $('<img id="OLDIE_full_screen_image" src=' + bg_img_url + '/>').prependTo('#content_page_wrapper'); 6 } 7 8 $(window).load(function() { 9 var $win = $(window), 10 $bg = $('#OLDIE_full_screen_image'), 11 aspectRatio = $bg.width() / $bg.height(); 12 13 function resizeBG() { 14 if(($win.width() / $win.height()) < aspectRatio) { 15 $('#info').text('h' + aspectRatio + ' ' + ($win.width() / $win.height())); 16 $bg.removeClass().addClass('bgheight'); 17 } else { 18 $('#info').text('w' + aspectRatio + ' ' + ($win.width() / $win.height())); 19 $bg.removeClass(); 20 } 21 } 22 23 if($('html').hasClass('ie7') || $('html').hasClass('ie8')) { 24 $win.resize(resizeBG).trigger('resize'); 25 } 26 }); 27})(_4ORMAT.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.