Special characters, regular symbols and their code tables _javascript

Source: Internet
Author: User

<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<meta name= "Author" content= "Goaler"/>
<meta name= "Keywords" content= "special characters, regular symbols and their code tables"/>
<meta name= "Description" content= "special characters, regular symbols and their code tables"/>
<title> special characters, regular symbols and their code tables </title>
<link href= "Style.css" rel= "stylesheet" type= "Text/css"/>

<body>
<div class= "Menu_head" >
Special characters, regular symbols and their code tables
<select id= "Family" size= "1" onchange= "Javascript:chgfont ();" style= "color:red;" >
<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>
</div>
<script language= "JavaScript" >
document.write (' <table border= "1" width= "100%" cellspacing= "0" cellpadding= "2" >\n ");
document.write (' <tr align= ' center ' > ');
for (j=0;j<4;j++)
{
document.write (' <td width= "7%" align= "center" style= "Font-size:14px;color:red;background: #D4D0C8" > Code &LT;/TD >\n ');
document.write (' <td width= "11%" align= "center" id= "F ' +j+ '" style= "font-size:14px;color:red;; Background: #D4D0C8 ">webdings</td>\n");
document.write (' <td width= "7%" align= "center" style= "font-size:14px;color:red;; Background: #D4D0C8 "> Conventional </td>\n");
}
for (i=32;i<256;i++)
{
if (i%4==0)
{
document.write (' <tr align= ' center ">\n ');
}
document.write (' <td align= "center" style= "Font-size:14px;background: #D4D0C8; color:blue; Font-family:fixedsys" ><a>&#</a> ' +i+ '; </td>\n ');
document.write (' <td id= "F ' +i+ '" align= "center" style= "Font-size:14px;background: #FFFFFF; color: #CC5800; Font-family:webdings ">&# ' +i+ '; </td>\n ');
document.write (' <td align= "center" style= "Font-size:14px;background: #FFFFFF; font-family:arial Black" >&# ' +i+ '; </td>\n ');

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

<script language= "JavaScript" >
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 ();
</script>

</div>
</body>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.