1$(function(){ 2 3 /*--block_table_3 çµã¿æã---*/ 4 5 function tableResize03(){ 6 $('.block_table_3 table').each(function(){ 7 var array3 = []; 8 var cols3 = $(this).find('thead tr th, thead tr td').size(); 9 for(i = 1; i <= cols3; i++){ 10 array3[i] = ($(this).find('thead tr > *:eq('+i+')').html()); 11 } 12 $(this).find('tbody tr').each(function(){ 13 for(i = 0; i < cols3; i++){ 14 if(window.innerWidth < 500){ 15 if(!$(this).find('td:eq('+i+')').children().is('ul.block_table_3_item')){ 16 var itemContent3 = $(this).find('td:eq('+i+')').html(); 17 $(this).find('td:eq('+i+')').replaceWith('<td><ul class="block_table_3_item"><li>'+array3[i+1]+'</li><li>'+itemContent3+'</li></ul></td>'); 18 } 19 }else{ 20 if($(this).find('td:eq('+i+')').children().is('ul.block_table_3_item')){ 21 var itemContent3 = $(this).find('td:eq('+i+') ul.block_table_3_item li:eq(1)').html(); 22 $(this).find('td:eq('+i+')').replaceWith('<td>'+itemContent3+'</td>'); 23 } 24 } 25 } 26 }); 27 }); 28 } 29 tableResize03(); 30 $(window).on('resize', tableResize03); 31 32 /*--block_table_7---*/ 33 34 function tableResize07(){ 35 $('.block_table_7 table').each(function(){ 36 var t7 = 0; 37 t7 = $(this).find('tr:eq(0)>td').length + 1; 38 if(t7 * 150 >= $(this).parents('.outer').width()){ 39 $(this).addClass('resp'); 40 if($(this).parents('.outer').width() > $(this).width()){ 41 $(this).css({width: '100%'}); 42 }else{ 43 $(this).css({width: 'auto'}); 44 } 45 }else{ 46 $(this).removeClass('resp'); 47 } 48 }); 49 } 50 tableResize07(); 51 $(window).on('resize', tableResize07); 52 53});
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.