Initial Commit Update Telerik
This commit is contained in:
112
LPWeb20/RichtextEditor/server/insertchars.htm
Normal file
112
LPWeb20/RichtextEditor/server/insertchars.htm
Normal file
@@ -0,0 +1,112 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>[[InsertChars]] </title>
|
||||
<meta name="content-type" content="text/html ;charset=Unicode" />
|
||||
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.1)" />
|
||||
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.1)" />
|
||||
<link href='resx/dialog.css' type="text/css" rel="stylesheet" />
|
||||
<style type="text/css">
|
||||
table.Grid
|
||||
{
|
||||
border-width: 4px;
|
||||
border-style: none;
|
||||
background-color: White;
|
||||
border-color: gray;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
table.Grid TD, table.Grid TH
|
||||
{
|
||||
padding: 3px 3px 3px 3px;
|
||||
border: solid 1px #E1E1E1;
|
||||
vertical-align: top;
|
||||
cursor:default;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
var tds=22;
|
||||
|
||||
function spcOver(el)
|
||||
{
|
||||
el.style.background="#0A246A";el.style.color="white";
|
||||
}
|
||||
function spcOut(el)
|
||||
{
|
||||
el.style.background="white";el.style.color="black";
|
||||
}
|
||||
function writeChars()
|
||||
{
|
||||
var str="";
|
||||
for(var i=33;i<256;)
|
||||
{
|
||||
document.write("<tr>");
|
||||
for(var j=0;j<=tds;j++)
|
||||
{
|
||||
document.write("<td onClick='getchar(this)' onmouseover='spcOver(this)' onmouseout='spcOut(this)'>");
|
||||
document.write("\x26#"+i+";");
|
||||
document.write("</td>");
|
||||
i++;
|
||||
}
|
||||
document.write("</tr>");
|
||||
}
|
||||
}
|
||||
|
||||
function writeChars2()
|
||||
{
|
||||
var arr=["ƒ","Α","Β","Γ","Δ","Ε","Ζ","Η","Θ","Ι","Κ","Λ","Μ","Ν","Ξ","Ο","Π","Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω","α","β","γ","δ","ε","ζ","η","θ","ι","κ","λ","μ","ν","ξ","ο","π","ρ","ς","σ","τ","υ","φ","χ","ψ","ω","ϑ","ϒ","ϖ","•","…","′","″","‾","⁄","℘","ℑ","ℜ","™","ℵ","←","↑","→","↓","↔","↵","⇐","⇑","⇒","⇓","⇔","∀","∂","∃","∅","∇","∈","∉","∋","∏","−","−","∗","√","∝","∞","∠","⊥","⊦","∩","∪","∫","∴","∼","≅","≅","≠","≡","≤","≥","⊂","⊃","⊄","⊆","⊇","⊕","⊗","⊥","⋅","⌈","⌉","⌊","⌋","〈","〉","◊","♠","♣","♥","♦"];
|
||||
for(var i=0;i<arr.length;i+=tds)
|
||||
{
|
||||
document.write("<tr>");
|
||||
for(var j=i;j<i+tds&&j<arr.length;j++)
|
||||
{
|
||||
var n=arr[j];
|
||||
|
||||
document.write("<td onClick='getchar(this)' onmouseover='spcOver(this)' onmouseout='spcOut(this)' title='" + n+" - "+n.replace("&","&") + "' >");
|
||||
document.write(n);
|
||||
document.write("</td>");
|
||||
}
|
||||
document.write("</tr>");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="ajaxdiv">
|
||||
<table border="0" cellspacing="2" cellpadding="2" width="98%">
|
||||
<tr>
|
||||
<td class="normal">
|
||||
<span langtext='1'>Font</span>:
|
||||
<input type="radio" onclick="sel_font_change()" id="selfont1" name="selfont" value="" checked="checked" /><label for="selfont1" langtext='1'>Default</label>
|
||||
<input type="radio" onclick="sel_font_change()" id="selfont2" name="selfont" value="webdings" /><label for="selfont2">Webdings</label>
|
||||
<input type="radio" onclick="sel_font_change()" id="selfont3" name="selfont" value="wingdings" /><label for="selfont3">Wingdings</label>
|
||||
<input type="radio" onclick="sel_font_change()" id="selfont4" name="selfont" value="symbol" /><label for="selfont4">Symbol</label>
|
||||
<input type="radio" onclick="sel_font_change()" id="selfont5" name="selfont" value="Unicode" /><label for="selfont5">Unicode</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<br />
|
||||
<table style="border-collapse: collapse;" class="Grid" width="100%" border="0" ID="charstable1">
|
||||
<script type="text/javascript">
|
||||
writeChars();
|
||||
</script>
|
||||
</table>
|
||||
<table style="border-collapse: collapse;" class="Grid" width="100%" border="0" ID="charstable2">
|
||||
<script type="text/javascript">
|
||||
writeChars2();
|
||||
</script>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="center" style="margin-top:15px">
|
||||
<input type="button" langtext='1' value="Cancel" class="formbutton" onclick="do_cancel()" />
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" src="resx/insertchars.js"></script>
|
||||
<script type="text/javascript">
|
||||
sel_font_change()
|
||||
</script>
|
||||
</html>
|
||||
Reference in New Issue
Block a user