1/*function banner() { 2 $(".banner").each(function(){ 3 if( $(this).html().trim() != "" ) { 4 var h = $(this).height(); 5 } 6 $("header").css({"margin-top" : h+'px'}); 7 }); 8}*/ 9 10function checkScreen() { 11 var w = $(window).width(); 12 /* 13 $(".banner img").each(function(){ 14 thispic = $(this); 15 t = $(this).attr('data-srcsets').split(", "); 16 for(i=0;i<t.length;i++) { 17 t1 = t[i].split(" "); 18 if(w <= t1[1].replace(/w/g,"")) { 19 thispic.attr('src',t1[0]); 20 thispic.attr('width', 'auto'); 21 thispic.attr('height', 'auto'); 22 } 23 } 24 }); 25 $(".banner a").each(function(){ 26 thispic = $(this); 27 t = $(this).attr('data-urlset').split(", "); 28 for(i=0;i<t.length;i++) { 29 t1 = t[i].split(" "); 30 if(w <= t1[1].replace(/w/g,"")) { 31 thispic.attr('href',t1[0]); 32 } 33 } 34 }); 35 */ 36} 37 38$(window).load(function(){ 39 $(".banner > *, .box > *").click(function(){ 40 $.ajax({ 41 url: root+'/ajax.php', 42 data: 'id='+$(this).attr("id")+'&switch=banner', 43 method: 'POST', 44 error: function(){return false;} 45 }); 46 }); 47 $(window).resize(function(){checkScreen();/*banner();*/}); 48 checkScreen(); 49 //banner(); 50 51});
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.