特殊字符、常规符号及其代码对照表
document.write('
//document.write('
');for (j=0;j<4;j++)
{
document.write('
代码\n');document.write('
Webdings\n');document.write('
常规\n');}
for(i=32;i<256;i++)
{
if (i%4==0)
{
document.write('
\n');}
document.write('
'+i+';\n');document.write('
'+i+';\n');document.write('
'+i+';\n');if (i%4==3)
{
document.write('
\n');}
}
document.write('
\n');function chgFont()
{
fontIndex = document.getElementById("family").selectedIndex;
fontValue = document.getElementById("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();