tool7.htm

来自「本软件为绿色软件」· HTM 代码 · 共 65 行

HTM
65
字号
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script src=inc/5top.js></script></head>
<body scroll=yes><br>
<table width=98%>
<tr>
	<td><form name="font">
字体选择:<select name="family" size="1" onChange="JavaScript:chgFont();">
<option selected value="Webdings">Webdings</option>
<option value="Wingdings">Wingdings</option>
<option value="Wingdings 2">Wingdings 2</option>
<option value="Wingdings 3">Wingdings 3</option>
<option value="Symbol">Symbol</option>
<option value="SPSS Marker Set">SPSS Marker Set</option>
</select><span style="font-size:20px; color:red; font-family: 黑体">
  符号、常规符号及其代码对照表</span>
</form></td>
</tr>
</table>


<script>
t=new Array()
t[t.length]='<table border="1" width="99%" cellspacing="0" cellpadding="0"><tr align="center">'
for (j=0;j<4;j++){
t[t.length]='<td bgcolor="menu" bordercolor="menu" width="7%" style=" color:red; font-family: fixedsys">代码</td>'
+'<td id="F'+j+'" bgcolor="menu" bordercolor="" width="11%" style=" color:red; font-family: fixedsys">Webdings</td>'
+'<td bgcolor="menu" bordercolor="menu" width="7%" style=" color:red; font-family: fixedsys">常规</td>'
}
t[t.length]='</tr>'
for(i=32;i<256;i++){
if(i%4==0){
t[t.length]='<tr align="center">'
}
if (i==32) {
t[t.length]='<td bgcolor="menu" width="7%" style=" color:blue; font-family: fixedsys"><a>&#</a>32;</td><td id="f32" width="11%"> </td><td width="7%"> </td>'
}
else {
t[t.length]='<td bgcolor="menu" width="7%" style=" color:blue; font-family: fixedsys"><a>&#</a>'+i+';</td>'
+'<td id="f'+i+'" width="11%" style="font-size:40px;; font-family: Webdings">&#'+i+';</td>'
+'<td width="7%" style="font-size:30px; font-family: Arial">&#'+i+';</td>'
}
if (i%4==3) {
t[t.length]='</tr>'
}
}
document.write(t.join("")+'</table>');
</script>

<script>
function chgFont() {
fontIndex=document.font.family.selectedIndex;
fontValue=document.font.family.options[fontIndex].value;

for (m=0;m<4;m++){
eval('F'+m+'.innerHTML="'+fontValue+'";');
}
for (n=32;n<256;n++){
eval('f'+n+'.style.fontFamily="'+fontValue+'";');
}
}

chgFont();
</script><br><br>
<script src=inc/5down.js></script></body></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?