📄 specialchar.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta HTTP-EQUIV=Expires CONTENT=0>
<TITLE>题库编辑器</TITLE>
<style type="text/css">
body{
background-color:gainsboro;
}
td{
font-size: 9pt;
font-family:Arial;
}
.Disactive {
border-right: 1px solid;
border-top: 1px solid;
border-left: 1px solid;
width: 20px;
cursor: hand;
border-bottom: 1px solid;
background-color: #dedbd6;
text-align: center;
}
.Active {
cursor: hand;
background-color: #ffffcc;
text-align: center;
width: 20px;
}
.MainTable {
border-right: #e8e8e8 5px solid;
border-top: #e8e8e8 5px solid;
border-left: #e8e8e8 5px solid;
border-bottom: #e8e8e8 5px solid;
}
.Sample {
border-right: 1px solid;
border-top: 1px solid;
font-size: 24px;
border-left: 1px solid;
border-bottom: 1px solid;
background-color: #dedbd6;
text-align: center;
}
.Empty {
border-right: 1px solid;
border-top: 1px solid;
border-left: 1px solid;
width: 20px;
cursor: default;
border-bottom: 1px solid;
background-color: #dedbd6;
}
</style>
<script language="javascript">
<!--
var oSample;
function insertChar(charValue)
{
window.returnValue = charValue ;
window.close();
}
function over(td)
{
oSample.innerHTML = td.innerHTML ;
td.className = 'Active' ;
}
function out(td)
{
oSample.innerHTML = " " ;
td.className = 'Disactive' ;
}
function CloseWindow()
{
window.returnValue = null ;
window.close() ;
}
//-->
</script>
</HEAD>
<BODY topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0">
<table cellpadding="0" cellspacing="10" width="300" height="250">
<tr>
<td rowspan="2" width="100%">
<table class="MainTable" cellpadding="0" cellspacing="0" align="center" border="1" width="100%" height="100%">
<script language="javascript">
<!--
//var aChars = ["!",""","#","$","%","&","\\'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","?,"?,"?,"?,"?,"?,"\?,"?,"?,"?,"‘","’","’","“","”","?,"–","—","?,"?,"?,"?,"?,"?,"¡","¢","£","£","¤","¥","¦","§","¨","©","ª","«","¬","?,"®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ü","ý","þ","ÿ"] ;
var aChars = ["!",""","#","$","%","&","\\'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","¬","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ü","ý","þ","ÿ"] ;
var cols = 20 ;
var i = 0 ;
while (i < aChars.length)
{
document.write("<TR>") ;
for(var j = 0 ; j < cols ; j++)
{
if (aChars[i])
{
document.write('<TD class="Disactive" onclick="insertChar(\'' + aChars[i].replace(/&/g, "&") + '\')" onmouseover="over(this)" onmouseout="out(this)">') ;
document.write(aChars[i]) ;
}
else
document.write("<TD class='Empty'> ") ;
document.write("</TD>") ;
i++ ;
}
document.write("</TR>") ;
}
//-->
</script>
</table>
</td>
<td valign="top">
<table class="MainTable" width="50" height="50">
<tr>
<td id="SampleTD" class="Sample"> </td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>
<script language="javascript">
<!--
oSample = document.getElementById("SampleTD") ;
//-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -