您的位置:首页 > 其它

Wingdings特殊字符及符号对照表

2011-05-21 10:04 197 查看
系统Wingdings字库预置的一些特殊字符,常规符号以及代码对照表,有时候这种特殊字符会组成某些图案,比如列表的标号,断落标记等,这些特殊字符不占用系统资源,不像一些GIF图片一样,有时候会影响网页的加载速度,所以这些代码还是值得收藏一下哦。

<html>
<head>
<title>特殊字符代码对照表</title>
</head>
<body>
<center style="font-size:20px;color:#000000;">
<form name="font">
<select name="family" size="1" onChange="JavaScript:chgFont();" style="font-size:20px; color:#000000;">
<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>
</select>符号、常规符号及其代码对照表
</form>
</center>

<script language="JavaScript">
document.write('<table border="1" width="100%" cellspacing="0" cellpadding="0">');
for (j=0;j<4;j++) {
document.write('<td bgcolor="menu" bordercolor="menu" align="center" valign="middle" width="7%" style="font-size:; color:red; font-family: fixedsys">代码</td>');
document.write('<td id="F'+j+'" bgcolor="menu" bordercolor="" align="center" valign="middle" width="11%" style="font-size:; color:red; font-family: fixedsys">Webdings</td>');
document.write('<td bgcolor="menu" bordercolor="menu" align="center" valign="middle" width="7%" style="font-size:; color:red; font-family: fixedsys">常规</td>');
}
for(i=32;i<256;i++){
if (i%4==0) {
document.write('<tr>');
}
document.write('<td bgcolor="menu" align="center" valign="middle" width="7%" style="color:blue; font-family: fixedsys"><a>&#</a>'+i+';</td>');
document.write('<td id="f'+i+'" align="center" valign="middle" width="11%" style="font-size:30px; color:red; font-family: Webdings">&#'+i+';</td>');
document.write('<td align="center" valign="middle" width="7%" style="font-size:26px; color:blue; font-family: Arial">&#'+i+';</td>');

if (i%4==3) {
document.write('</tr>');
}
}
document.write('</table>');
</script>

<script language="JavaScript">
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>
</body>
</html>

Webdings Wingdings Wingdings 2 Wingdings 3 Symbol符号、常规符号及其代码对照表
// document.write('');
for (j=0;j<4;j++) {
document.write('');
document.write('');
document.write('');
}
for(i=32;i<256;i++){
if (i%4==0) {
document.write('');
}
document.write('');
document.write('');
document.write('');

if (i%4==3) {
document.write('');
}
}
document.write('
代码Webdings常规
&#'+i+';&#'+i+';&#'+i+';
');
// ]]>
// 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();
// ]]>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: