1var prop = 0; 2var flipbookContainers = new Array; 3function flipbookCustomInit() { 4 if(typeof flipbookOptions != 'undefined'){ 5 if($(flipbookOptions).length > 0){ 6 $.each(flipbookOptions,function(k, v){ 7 //$("#container_"+k).addClass('loading'); 8 //prop = (v.pageHeight/v.pageWidth); 9 //console.log(v); 10 if(v.pageWidth && v.pageHeight) { 11 prop = v.pageHeight/v.pageWidth; 12 w = parseInt($("#container_"+k).width()); 13 if(w >= 970) { 14 prop = v.pageHeight/(v.pageWidth*2); 15 } 16 //$("#container_"+k).parent().parent().width('100%'); 17 newH = parseInt(w*prop); 18 if(newH > 1000) { 19 newH = 1000; 20 } 21 $("#container_"+k).height(newH); 22 } else { 23 //prop = v.pageHeight/$("#container_"+k).width(); 24 prop = 1.414285714285714; 25 } 26 //$("#container_"+k).height(parseInt($("#container_"+k).width()*prop)); 27 $("#container_"+k).flipBook(v); 28 flipbookContainers.push("#container_"+k); 29 }) 30 } 31 } 32} 33 34$(window).on("load", function() { 35 setTimeout('flipbookCustomInit()', 500); 36 37}); 38 39$(window).on("resize", function() { 40 flipbookContainers.forEach(function(item, index) { 41 newH = parseInt($(item).width()*prop); 42 if(newH > 1000) { 43 newH = 1000; 44 } 45 $(item).height(newH); 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.