📄 specialchars.html
字号:
<!-- 设计:Flyangel@ycdx.edu.cn QQ:3337002 -->
<html><head><title>特殊字符处理-Flyangel</title>
<STYLE>
td
{
font-size: 10.5pt;
font-family: Comic Sans MS,宋体;
color: Teal;
}
body
{
background-color:LightSkyBlue;
}
p
{
font-size: 10.5pt;
font-family:宋体;
}
.specialChars {background: white;color: black;border: 1px solid black;padding: 1px;width: 15px;height: 15px;font-family: verdana;font-size: 10.5px;cursor: hand;}
</STYLE>
<script language="javascript">
function _CloseOnEsc() {
if (event.keyCode == 27) { window.close(); return; }
}
function Init() { // run on page load
document.body.onkeypress = _CloseOnEsc;
string = window.dialogArguments;
string='*';
ViewAS(string); // set default color
}
function ViewAS(string) {
document.all.ColorHex.value = string;
}
function View(string,el) {
document.all.ColorHex.value = string;
el.style.background = "white";
el.style.border = "1px solid black";
}
function spcOut(el) {
el.style.background = "LightSkyBlue";
el.style.border = "0px";
}
function Set(string) { // select color
if (string == '') { alert("你需要选择一个字符!"); } // invalid color
else { // valid color
ViewAS(string);
window.returnValue = string; // set return value
window.close(); // close dialog
}
}
</script>
</head>
<body topmargin=0 leftmargin=0 onload="Init()" >
<form method=get onSubmit="Set(document.all.ColorHex.value); return false;">
<table border=0 cellspacing=0 cellpadding=4 width=100% align=center>
<tr>
<td id="td1" bgcolor="LightSkyBlue" align=center>
<input type="text" ID="ColorHex" name="ColorHex" value="●" size=15>
</td>
<td bgcolor="LightSkyBlue" width=100%></td>
</tr>
</table>
<table border=0 cellspacing=0 cellpadding=4 width=100% align=center>
<tr>
<td onMouseOver=View('Ⅰ',this) onmouseout=spcOut(this) onClick=Set('Ⅰ')>Ⅰ</td>
<td onMouseOver=View('Ⅱ',this) onmouseout=spcOut(this) onClick=Set('Ⅱ')>Ⅱ</td>
<td onMouseOver=View('Ⅲ',this) onmouseout=spcOut(this) onClick=Set('Ⅲ')>Ⅲ</td>
<td onMouseOver=View('Ⅳ',this) onmouseout=spcOut(this) onClick=Set('Ⅳ')>Ⅳ</td>
<td onMouseOver=View('Ⅴ',this) onmouseout=spcOut(this) onClick=Set('Ⅴ')>Ⅴ</td>
<td onMouseOver=View('Ⅵ',this) onmouseout=spcOut(this) onClick=Set('Ⅵ')>Ⅵ</td>
<td onMouseOver=View('Ⅶ',this) onmouseout=spcOut(this) onClick=Set('Ⅶ')>Ⅶ</td>
<td onMouseOver=View('Ⅷ',this) onmouseout=spcOut(this) onClick=Set('Ⅷ')>Ⅷ</td>
<td onMouseOver=View('Ⅸ',this) onmouseout=spcOut(this) onClick=Set('Ⅸ')>Ⅸ</td>
<td onMouseOver=View('Ⅹ',this) onmouseout=spcOut(this) onClick=Set('Ⅹ')>Ⅹ</td>
</tr>
<tr>
<td onMouseOver=View('≈',this) onmouseout=spcOut(this) onClick=Set('≈')>≈</td>
<td onMouseOver=View('≡',this) onmouseout=spcOut(this) onClick=Set('≡')>≡</td>
<td onMouseOver=View('≠',this) onmouseout=spcOut(this) onClick=Set('≠')>≠</td>
<td onMouseOver=View('=',this) onmouseout=spcOut(this) onClick=Set('=')>=</td>
<td onMouseOver=View('≤',this) onmouseout=spcOut(this) onClick=Set('≤')>≤</td>
<td onMouseOver=View('≥',this) onmouseout=spcOut(this) onClick=Set('≥')>≥</td>
<td onMouseOver=View('<',this) onmouseout=spcOut(this) onClick=Set('<')><</td>
<td onMouseOver=View('>',this) onmouseout=spcOut(this) onClick=Set('>')>></td>
<td onMouseOver=View('≮',this) onmouseout=spcOut(this) onClick=Set('≮')>≮</td>
<td onMouseOver=View('≯',this) onmouseout=spcOut(this) onClick=Set('≯')>≯</td>
</tr>
<tr>
<td onMouseOver=View('°',this) onmouseout=spcOut(this) onClick=Set('°')>°</td>
<td onMouseOver=View('′',this) onmouseout=spcOut(this) onClick=Set('′')>′</td>
<td onMouseOver=View('″',this) onmouseout=spcOut(this) onClick=Set('″')>″</td>
<td onMouseOver=View('$',this) onmouseout=spcOut(this) onClick=Set('$')>$</td>
<td onMouseOver=View('£',this) onmouseout=spcOut(this) onClick=Set('£')>£</td>
<td onMouseOver=View('¥',this) onmouseout=spcOut(this) onClick=Set('¥')>¥</td>
<td onMouseOver=View('‰',this) onmouseout=spcOut(this) onClick=Set('‰')>‰</td>
<td onMouseOver=View('%',this) onmouseout=spcOut(this) onClick=Set('%')>%</td>
<td onMouseOver=View('℃',this) onmouseout=spcOut(this) onClick=Set('℃')>℃</td>
<td onMouseOver=View('¤',this) onmouseout=spcOut(this) onClick=Set('¤')>¤</td>
</tr>
<tr>
<td onMouseOver=View('─',this) onmouseout=spcOut(this) onClick=Set('─')>─</td>
<td onMouseOver=View('┄',this) onmouseout=spcOut(this) onClick=Set('┄')>┄</td>
<td onMouseOver=View('§',this) onmouseout=spcOut(this) onClick=Set('§')>§</td>
<td onMouseOver=View('№',this) onmouseout=spcOut(this) onClick=Set('№')>№</td>
<td onMouseOver=View('☆',this) onmouseout=spcOut(this) onClick=Set('☆')>☆</td>
<td onMouseOver=View('★',this) onmouseout=spcOut(this) onClick=Set('★')>★</td>
<td onMouseOver=View('○',this) onmouseout=spcOut(this) onClick=Set('○')>○</td>
<td onMouseOver=View('●',this) onmouseout=spcOut(this) onClick=Set('●')>●</td>
<td onMouseOver=View('◎',this) onmouseout=spcOut(this) onClick=Set('◎')>◎</td>
<td onMouseOver=View('◇',this) onmouseout=spcOut(this) onClick=Set('◇')>◇</td>
</tr>
<tr>
<td onMouseOver=View('◆',this) onmouseout=spcOut(this) onClick=Set('◆')>◆</td>
<td onMouseOver=View('□',this) onmouseout=spcOut(this) onClick=Set('□')>□</td>
<td onMouseOver=View('α',this) onmouseout=spcOut(this) onClick=Set('α')>α</td>
<td onMouseOver=View('β',this) onmouseout=spcOut(this) onClick=Set('β')>β</td>
<td onMouseOver=View('γ',this) onmouseout=spcOut(this) onClick=Set('γ')>γ</td>
<td onMouseOver=View('δ',this) onmouseout=spcOut(this) onClick=Set('δ')>δ</td>
<td onMouseOver=View('ε',this) onmouseout=spcOut(this) onClick=Set('ε')>ε</td>
<td onMouseOver=View('ζ',this) onmouseout=spcOut(this) onClick=Set('ζ')>ζ</td>
<td onMouseOver=View('η',this) onmouseout=spcOut(this) onClick=Set('η')>η</td>
<td onMouseOver=View('θ',this) onmouseout=spcOut(this) onClick=Set('θ')>θ</td>
</tr>
<tr>
<td onMouseOver=View('ι',this) onmouseout=spcOut(this) onClick=Set('ι')>ι</td>
<td onMouseOver=View('κ',this) onmouseout=spcOut(this) onClick=Set('κ')>κ</td>
<td onMouseOver=View('а',this) onmouseout=spcOut(this) onClick=Set('а')>а</td>
<td onMouseOver=View('б',this) onmouseout=spcOut(this) onClick=Set('б')>б</td>
<td onMouseOver=View('в',this) onmouseout=spcOut(this) onClick=Set('в')>в</td>
<td onMouseOver=View('г',this) onmouseout=spcOut(this) onClick=Set('г')>г</td>
<td onMouseOver=View('д',this) onmouseout=spcOut(this) onClick=Set('д')>д</td>
<td onMouseOver=View('е',this) onmouseout=spcOut(this) onClick=Set('е')>е</td>
<td onMouseOver=View('ё',this) onmouseout=spcOut(this) onClick=Set('ё')>ё</td>
<td onMouseOver=View('ж',this) onmouseout=spcOut(this) onClick=Set('ж')>ж</td>
</tr>
<tr>
<td onMouseOver=View('з',this) onmouseout=spcOut(this) onClick=Set('з')>з</td>
<td onMouseOver=View('и',this) onmouseout=spcOut(this) onClick=Set('и')>и</td>
<td onMouseOver=View('æ',this) onmouseout=spcOut(this) onClick=Set('æ')>æ</td>
<td onMouseOver=View('Ð',this) onmouseout=spcOut(this) onClick=Set('Ð')>Ð</td>
<td onMouseOver=View('ð',this) onmouseout=spcOut(this) onClick=Set('ð')>ð</td>
<td onMouseOver=View('Ø',this) onmouseout=spcOut(this) onClick=Set('Ø')>Ø</td>
<td onMouseOver=View('©',this) onmouseout=spcOut(this) onClick=Set('©')>©</td>
<td onMouseOver=View('®',this) onmouseout=spcOut(this) onClick=Set('®')>®</td>
<td onMouseOver=View('™',this) onmouseout=spcOut(this) onClick=Set('™')>™</td>
<td onMouseOver=View('&',this) onmouseout=spcOut(this) onClick=Set('&')>&</td>
</tr>
<tr>
<td onMouseOver=View('¢',this) onmouseout=spcOut(this) onClick=Set('¢')>¢</td>
<td onMouseOver=View('|',this) onmouseout=spcOut(this) onClick=Set('|')>|</td>
<td onMouseOver=View('×',this) onmouseout=spcOut(this) onClick=Set('×')>×</td>
<td onMouseOver=View('
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -