Copy code The code is as follows: LD5工具 <br>*{font-size:12px;font-family:宋体} <br>td{width:180;cursor:hand;text-align:center} <br>.n1{font-size:18px} <br>.n2{font-size:18px;font-family:wingdings} <br>.n3{font-size:18px;font-family:wingdings 2} <br>.n4{font-size:18px;font-family:wingdings 3} <br>.n5{font-size:18px;font-family:webdings} <br>.n6{font-size:18px;font-family:Marlett} <br>.n7{font-size:18px;font-family:华文彩云} <br> 中文特殊符号Assic实体对照HTML已命名实体HTML附加命名实体他国单字与符号W3C16色对照表Windows系统色盘Wingdings字体Wingdings 2字体Wingdings 3字体Webdings字体Marlett字体华文彩云字体键盘键值探测器简易计算器进制转换工具 <br>/****************** <br>Author:lshdic(FYW) <br>Website:http://www.lshdic.com <br>E-mail:lshdic@sina. com <br>Resume: The data compilation, writing, and final review of this program were completed independently by the original authors of LD2, 4, and 5. It is inevitable that there will be oversights and the data cannot be guaranteed to be 100% correct. One page of original code can be run independently on non- In the WEB browser of the LD2005 development environment, you can use it locally after saving it <br>***********************/ <br>var str1="",toolcolor="bbbbbb",movecolor="#ffffff" <br>function write1(){ <br>a.innerHTML="<table cellspacing=0 cellpadding=3 rules=all style='border-Collapse:collapse;border:1 solid cccccc;' onmouseup='if(event.srcElement.tagName=="TD")txt.value=event.srcElement.innerText' onmouseover='if(event.srcElement.tagName=="TD"&&event.srcElement.bgColor=="")event.srcElement.bgColor=movecolor' onmouseout='if(event.srcElement.tagName=="TD"&&event.srcElement.bgColor==movecolor.toLowerCase())event.srcElement.bgColor=""'>" str1 "</table>" <br>document.title=sel1.options[sel1.selectedIndex].text "_参考输入工具[" (sel1.selectedIndex 1) "]" <br>} <br>function write2(strs1,strs2){ <br>strs1==160?strss1="空格":strss1="" strs1 ";" <br>str1 ="<tr><td>" strs1 ";</td><td>&" strs2 ";</td><td class='n1'>" strss1 "</td></tr>" <br>} <br>function change1(changeindex){ <br>str1="" <br>switch(changeindex){ <br>case 0: //中文特殊符号 <br>str0="·ˇ¨〃々-~‖…〔〕〈〉《》「」『』〖〗【】±×÷∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓ˊˋ˙-―‥℅℉↖↗↘↙∕∟≒≦≧⊿═║╒╓╔╕╖╗╙╚╛╜╝╞╟╠╡╢╣╤╥╦╧╨╩╪╫╬╭╮╯╰╱╲╳▁▂▃▅▇█▉▊▋▌▍▎▏▓▔▕▼▽◢◣◤◥☉⊕〒‵′〝″ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋︵︶︹︺︿﹀︽︾﹁﹂﹃﹄︻︼︷︸︱" <br>for(i=0;i<str0.length-1;i ){ <br>str1 ="<tr>" <br>for(j=0;j<7;j ){str1 ="<td>" str0.charAt(i) "</td>";i } <br>str1 ="</tr>";i-- <br>} <br>break; <br>case 4: //他国单字与符号 <br>str0="абвгдеёжзийклмнопрстуфхцчшщъыьэюяАБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωāáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑńňǹɡㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをんァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ" <br>for(i=0;i<str0.length-1;i ){ <br>str1 ="<tr>" <br>for(j=0;j<7;j ){str1 ="<td class='n1'>" str0.charAt(i) "</td>";i } <br>str1 ="</tr>";i-- <br>} <br>break; <br>case 1: //Assic实体对照 <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>浏览</td><td>VB表示</td></tr>" <br>for(i=1;i<384;i ){str1 ="<tr><td>" i ";</td><td class='n1'>" i ";</td><td>chr(" i ")</td></tr>"}<br>break; <br>case 7: //wingdings字体 <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>常规</td><td>应用字体</td></tr>" <br>for(i=33;i<384;i ){str1 ="<tr><td>" i ";</td><td class='n1'>" i ";</td><td class='n2'>" i ";</td></tr>"} <br>break; <br>case 8: //wingdings 2字体 <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>常规</td><td>应用字体</td></tr>" <br>for(i=33;i<384;i ){str1 ="<tr><td>" i ";</td><td class='n1'>" i ";</td><td class='n3'>" i ";</td></tr>"} <br>break; <br>case 9: //wingdings 3字体 <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>常规</td><td>应用字体</td></tr>" <br>for(i=33;i<384;i ){str1 ="<tr><td>" i ";</td><td class='n1'>" i ";</td><td class='n4'>" i ";</td></tr>"} <br>break; <br>case 10: //webdings字体 <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>常规</td><td>应用字体</td></tr>" <br>for(i=33;i<384;i ){str1 ="<tr><td>" i ";</td><td class='n1'>" i ";</td><td class='n5'>" i ";</td></tr>"} <br>break; <br>case 11: //Marlett字体 <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>常规</td><td>应用字体</td></tr>" <br>for(i=48;i<58;i ){str1 ="<tr><td>" i ";</td><td class='n1'>" i ";</td><td class='n6'>" i ";</td></tr>"} <br>for(i=97;i<122;i ){str1 ="<tr><td>" i ";</td><td class='n1'>" i ";</td><td class='n6'>" i ";</td></tr>"} <br>break; <br>case 12: //华文彩云字体 <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>常规</td><td>应用字体</td></tr>" <br>for(i=33;i<384;i ){str1 ="<tr><td>" i ";</td><td class='n1'>" i ";</td><td class='n7'>" i ";</td></tr>"} <br>break; <br>case 2: //HTML已命名实体 <br>var str0="iexcl;¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ".split('&') <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>命名</td><td>浏览</td></tr>" <br>write2(34,"quot");write2(38,"amp");write2(60,"lt");write2(62,"gt");write2(160,"nbsp"); <br>for(i=161;i<256;i ){str1 ="<tr><td>" i ";</td><td>&" str0[i-161] "</td><td class='n1'>" i ";</td></tr>"}<br>break; <br>case 3: //HTML附加命名实体 <br>str1="<tr bgcolor='" toolcolor "'><td>HTM表示</td><td>命名</td><td>浏览</td></tr>" <br>write2(402,"fnof"); <br>var str0="Alpha;ΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ".split('&') <br>for(i=913;i<930;i ){str1 ="<tr><td>" i ";</td><td>&" str0[i-913] "</td><td class='n1'>" i ";</td></tr>"} <br>str0="Sigma;ΤΥΦΧΨΩ".split('&') <br>for(i=931;i<938;i ){str1 ="<tr><td>" i ";</td><td>&" str0[i-931] "</td><td class='n1'>" i ";</td></tr>"} <br>str0="alpha;βγδεζηθικλμνξοπρςστυφχψω".split('&') <br>for(i=945;i<970;i ){str1 ="<tr><td>" i ";</td><td>&" str0[i-945] "</td><td class='n1'>" i ";</td></tr>"} <br>write2(977,"thetasym");write2(978,"upsih");write2(982,"piv"); <br>write2(8226,"bull");write2(8230,"hellip");write2(8242,"prime");write2(8243,"Prime");write2(8254,"oline");write2(8260,"frasl");write2(8472,"weierp");write2(8465,"image");write2(8476,"real");write2(8482,"trade");write2(8501,"alefsym"); <br>str0="larr;↑→↓↔".split('&') <br>for(i=8592;i<8597;i ){str1 ="<tr><td>" i ";</td><td>&" str0[i-8592] "</td><td class='n1'>" i ";</td></tr>"} <br>write2(8629,"crarr"); <br>str0="lArr;⇑⇒⇓⇔".split('&') <br>for(i=8656;i<8661;i ){str1 ="<tr><td>" i ";</td><td>&" str0[i-8656] "</td><td class='n1'>" i ";</td></tr>"} <br>write2(8704,"forall");write2(8706,"part");write2(8707,"exist");write2(8709,"empty");write2(8711,"nabla");write2(8712,"isin");write2(8713,"notin");write2(8715,"ni");write2(8719,"prod");write2(8722,"sum");write2(8722,"minus");write2(8727,"lowast");write2(8730,"radic");write2(8733,"prop");write2(8734,"infin");write2(8736,"ang");write2(8869,"and");write2(8870,"or");write2(8745,"cap");write2(8746,"cup");write2(8747,"int");write2(8756,"there4");write2(8764,"sim");write2(8773,"cong");write2(8773,"asymp");write2(8800,"ne");write2(8801,"equiv");write2(8804,"le");write2(8805,"ge");write2(8834,"sub");write2(8835,"sup");write2(8836,"nsub");write2(8838,"sube");write2(8839,"supe");write2(8853,"oplus");write2(8855,"otimes");write2(8869,"perp");write2(8901,"sdot");write2(8968,"lceil");write2(8969,"rceil");write2(8970,"lfloor");write2(8971,"rfloor");write2(9001,"lang");write2(9002,"rang");write2(9674,"loz");write2(9824,"spades");write2(9827,"clubs");write2(9829,"hearts");write2(9830,"diams"); <br>break; <br>case 5: //W3C16色对照表 <br>str1="<tr bgcolor='" toolcolor "'><td>效果</td><td>名称</td><td>16进制表示</td></tr>" <br>str0="Black,White,Red,Yellow,Lime,Aqua,Blue,Fuchsia,Gray,Silver,Maroon,Olive,Green,Teal,Navy,Purple,Transparent".split(",") <br>str00="000000,ffffff,ff0000,ffff00,00ff00,00ffff,0000ff,ff00ff,808080,c0c0c0,800000,808000,008000,008080,000080,800080,透明色".split(",") <br>for(i=0;i<str0.length;i ){str1 ="<tr><td bgcolor='" str0[i] "'></td><td>" str0[i] "</td><td style='color:#" str00[i] "'>#" str00[i] "</td></tr>"}<br>break; <br>case 6: //Windows system color palette<br>str1="<tr bgcolor='" toolcolor "'><td>Effect 1</td><td>Effect 2</td><td>Name</td></tr>" <br>str0="windowtext,windowframe,window,threedshadow,buttonshadow,threedlightshadow,threedhighlight,threedface,buttonface,threeddarkshadow,scrollbar,menutext ,menu,infotext,infobackground,inactivecaptiontext,inactivecaption,inactiveborder,highlighttext,highlight,graytext,captiontext,buttontext,buttonhighlight,background,appworkspace,activecaption,activeborder".split(",") <br>for(i=0;i< ;str0.length;i ){str1 ="<tr><td bgcolor='" str0[i] "'></td><td style='color:" str0[i] "' >Lshdic</td><td style='word-Break:keep-all;'>" str0[i] "</td></tr>"} <br>break; <br> case 13: //Keyboard key detector<br>str1="<center> <p>Now please press any key on your keyboard</center><p><center>Other The key value will be displayed in the upper input box</center>" <br>break; <br>case 14: //Simple calculator<br>str1="<center> <p>Please enter the box below Enter the formula to be calculated</center><p><center>The formula is 12 64 20/5 100 (77*44)</center><p><center><input id= 'txt2'>[br]<input type='button' value='Start calculation' onclick='try{txt.value=eval(txt2.value)}catch(e){alert("Wrong formula! ")}'></center>" <br>break; <br>case 15: //Hexadecimal conversion tool<br>for(i=2;i<129;i ){str0 ="< option>" i;i } <br>str1="<center> <p>Please enter a set of numbers in the input box below</center><p><center><input id=' txt2'>[br]Convert to:<select id='sel2'>" str0 "</select>Base[br]<input type='button' value='Start conversion' onclick=' try{txt.value=new Number(txt2.value).toString(sel2.options[sel2.selectedIndex].text)}catch(e){alert("Exception error!")}'></center> " <br>break; <br>} <br>write1() <br>} <br>function document.onkeydown(){ //When the page is pressed <br>if(sel1.selectedIndex==13){ // Check whether the keyboard key value detector is turned on <br>txt.value=event.keyCode;event.keyCode=0;event.returnValue=false; <br>}} <br>temp1=location.href //Initialization startup part ( Additional URL parameters can control the pre-selected list, in the form of xxx.htm?xxx=*, where * should be a number between 0-12, used to match the default startup call of the Lshdic2005 software accessory tool) <br>try{ <br>sel1.options[temp1.substr(temp1.indexOf('=') 1)].selected=true;sel1.onchange() <br>}catch(e){ <br>sel1.onchange() <br>} <br>//Since this plug-in program can run directly in the WEB browser, it is released for everyone to use in advance of the release of the LD5 software. Therefore, this program is not the complete version when it is finally released <br>< /script> <br></BODY> <br></HTML> <br> </div>