1$(document).ready(function() { 2 $.each($('.textCSS table'), function(ind) { 3 $(this).attr('id', 'texttable-' + 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 var cellspacing = $(`#${uni_id}`).attr("cellspacing"); 38 if (cellspacing) { 39 $(`#${uni_id}`).css({ 40 "border-collapse": "separate", 41 "border-spacing": cellspacing + "px" 42 }); 43 } 44 if (cellpaddingval) { 45 $(`#${uni_id} tr td`).css('padding', cellpaddingval); 46 $(`#${uni_id} tr th`).css('padding', cellpaddingval); 47 } 48 49 }); 50 51 $('.textCSS table > tbody > tr td').each(function(index, tr) { 52 if (!undefined) { 53 var verticalaligntab = $('.textCSS table > tbody > tr td:eq(' + index + ')').attr("valign"); 54 $('.textCSS table > tbody > tr td:eq(' + index + ')').css('vertical-align', verticalaligntab); 55 } 56 }); 57 $('.textCSS table > tbody > tr th').each(function(index, tr) { 58 if (!undefined) { 59 var verticalaligntab = $('.textCSS table > tbody > tr th:eq(' + index + ')').attr("valign"); 60 $('.textCSS table > tbody > tr th:eq(' + index + ')').css('vertical-align', verticalaligntab); 61 } 62 }); 63});
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.