1$(document).ready(function() { 2 $.each($('.textImage_comp table'), function(ind) { 3 $(this).attr('id', 'textimagetable-' + parseInt(ind + 1)); 4 var uni_id = $(this).attr("id"); 5 var cellpaddingval = $(`#${uni_id}`).attr("cellpadding"); 6 var borderval = $(`#${uni_id}`).attr("border"); 7 var tablewidth = $(`#${uni_id}`).attr("width"); 8 var tableheight = $(`#${uni_id}`).attr("height"); 9 10 $(` #${uni_id}`).css({ 11 "border": borderval + "px solid #DDDDDD" 12 }); 13 14 if (tablewidth == undefined && tableheight == undefined) { 15 $(`#${uni_id}`).css({ 16 "width": "100%", 17 "height": "auto" 18 }); 19 } else if (tablewidth == undefined) { 20 $(`#${uni_id}`).css({ 21 "width": "100%", 22 "height": tableheight 23 }); 24 } else if (tableheight == undefined) { 25 $(`#${uni_id}`).css({ 26 "width": tablewidth, 27 "height": "auto" 28 }); 29 } 30 else{ 31 $(`#${uni_id}`).css({ 32 "width": tablewidth, 33 "height": tableheight 34 }); 35 36 } 37 38 var cellspacing = $(`#${uni_id}`).attr("cellspacing"); 39 if (cellspacing) { 40 $(`#${uni_id}`).css({ 41 "border-collapse": "separate", 42 "border-spacing": cellspacing + "px" 43 }); 44 } 45 if (cellpaddingval) { 46 $(`#${uni_id} tr td`).css('padding', cellpaddingval); 47 $(`#${uni_id} tr th`).css('padding', cellpaddingval); 48 } 49 }); 50 $('.textImage_comp table > tbody > tr td').each(function(index, tr) { 51 if (!undefined) { 52 var verticalaligntab = $('.textImage_comp table > tbody > tr td:eq(' + index + ')').attr("valign"); 53 $('.textImage_comp table > tbody > tr td:eq(' + index + ')').css('vertical-align', verticalaligntab); 54 } 55 }); 56 $('.textImage_comp table > tbody > tr th').each(function(index, tr) { 57 if (!undefined) { 58 var verticalaligntab = $('.textImage_comp table > tbody > tr th:eq(' + index + ')').attr("valign"); 59 $('.textImage_comp table > tbody > tr th:eq(' + index + ')').css('vertical-align', verticalaligntab); 60 } 61 }); 62 63 64});
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.