1$( document ).bind("ready ajaxComplete",function() { 2 3// remove back buttons 4// $( ".back" ).remove(); 5 6// create gradient for fullscreen if supersized homepage 7if($(".s-homepage #supersized").length > 0){ 8 $('<div />', { id: 'homefader' }).appendTo('body'); 9 $("#homefader").css({ 10 top: 0, 11 left: 0, 12 height: '100%', 13 width: '100%', 14 zIndex:0, 15 position:'absolute' 16 }); 17 } 18 19 20// reduce size of square publications 21$('.custom-grid-publications img').each( 22 function(){ 23 $(this).load( 24 function(){ 25 var theWidth = $(this).width(); 26 var theHeight = $(this).height(); 27 if (theWidth < theHeight ) { 28 var theRatio = theWidth/theHeight; 29 }else{ 30 var theRatio = theHeight/theWidth; 31 } 32 if(theRatio >= .88){ 33 // if image square or close to square, make smaller 34 $(this).css({'max-width': '85%','max-height': '85%'}); 35 }else{ 36 //change for horizontal 37 $(this).css({'max-width': '90%'}); 38 } 39 }); 40 }); 41 42 43 44// $('.s-artists.detail-page nav.screen-nav.quicklinks span.qlinks').append($('.s-artists.detail-page nav.screen-nav.quicklinks div.back a.link-back')); 45// $('.s-featured.detail-page header.section-header.page-header').append($('.s-featured.detail-page nav.screen-nav.quicklinks div.back')); 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.