📄 subjectedit.aspx
字号:
</table><div style="overflow:auto; height:200px; border: 1px solid #BBBBBB">
<table width="80" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td style="border: 1px solid #FFFFFF; font-size:9pt;" onMouseOver="this.style.backgroundColor='#c2cfe5';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onMouseDown="this.style.backgroundColor='#e2e5ee';" onClick="SetFontSize('fontsize',1);" unselectable="on"><span style="font-size:8pt;font-family:Tahoma;">1</span> (8pt)</td>
</tr>
<tr>
<td style="border: 1px solid #FFFFFF; font-size:9pt;" onMouseOver="this.style.backgroundColor='#c2cfe5';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onMouseDown="this.style.backgroundColor='#e2e5ee';" onClick="SetFontSize('fontsize',2);" unselectable="on"><span style="font-size:10pt;font-family:Tahoma;">2</span> (10pt)</td>
</tr>
<tr>
<td style="border: 1px solid #FFFFFF; font-size:9pt" onMouseOver="this.style.backgroundColor='#c2cfe5';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onMouseDown="this.style.backgroundColor='#e2e5ee';" onClick="SetFontSize('fontsize',3);" unselectable="on"><span style="font-size:12pt;font-family:Tahoma;">3</span> (12pt)</td>
</tr>
<tr>
<td style="border: 1px solid #FFFFFF; font-size:9pt;" onMouseOver="this.style.backgroundColor='#c2cfe5';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onMouseDown="this.style.backgroundColor='#e2e5ee';" onClick="SetFontSize('fontsize',4);" unselectable="on"><span style="font-size:14pt;font-family:Tahoma;">4</span> (14pt)</td>
</tr>
<tr>
<td style="border: 1px solid #FFFFFF; font-size:9pt;" onMouseOver="this.style.backgroundColor='#c2cfe5';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onMouseDown="this.style.backgroundColor='#e2e5ee';" onClick="SetFontSize('fontsize',5);" unselectable="on"><span style="font-size:18pt;font-family:Tahoma;">5</span> (18pt)</td>
</tr>
<tr>
<td style="border: 1px solid #FFFFFF; font-size:9pt;" onMouseOver="this.style.backgroundColor='#c2cfe5';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onMouseDown="this.style.backgroundColor='#e2e5ee';" onClick="SetFontSize('fontsize',6);" unselectable="on"><span style="font-size:24pt;font-family:Tahoma;">6</span> (24pt)</td>
</tr>
<tr>
<td style="border: 1px solid #FFFFFF; font-size:9pt;" onMouseOver="this.style.backgroundColor='#c2cfe5';" onMouseOut="this.style.backgroundColor='#FFFFFF';" onMouseDown="this.style.backgroundColor='#e2e5ee';" onClick="SetFontSize('fontsize',7);" unselectable="on"><span style="font-size:36pt;font-family:Tahoma;">7</span> (36pt)</td>
</tr>
</table></div>
</td></tr></table></div></td>
</tr>
</table></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" noWrap><span id="ForeColor" onClick="ForeColor(this.style.backgroundColor)" style="background-color:#FF0000"><img alt="文字颜色" src="subject/images/fontcolor.gif" align="middle" width="20" height="20" border="0" UNSELECTABLE="on" /></span><span onClick="SetForeColor(document.getElementById('ForeColor').style.backgroundColor);"><img src="subject/images/arrow.gif" align="middle" border="0" width="9" height="13" UNSELECTABLE="on" /></span></td>
<td width="0"><div style="position:relative; z-index: 10;"><table cellpadding="0" cellspacing="0" border="0"><tr><td id="forecolorpicket" style="display:none;position: absolute; width:152px; height: 162px;left:-31px;top:-11px;" onMouseOver="this.style.display='block'" onMouseOut="this.style.display='none'"></td></tr></table></div></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" noWrap><span id="BackColor" onClick="BackColor(this.style.backgroundColor)" style="background-color:#FFFF00">
<img alt="高亮颜色" src="subject/images/colorpen.gif" align="middle" width="20" height="20" border="0" UNSELECTABLE="on" /></span><span onClick="SetBackColor(document.getElementById('BackColor').style.backgroundColor)"><img src="subject/images/arrow.gif" align="middle" border="0" width="9" height="13" UNSELECTABLE="on" /></span></td>
<td width="0"><div style="position:relative; z-index: 10;"><table cellpadding="0" cellspacing="0" border="0"><tr><td id="backcolorpicket" style="display:none;position: absolute; width:98px; height: 92px;left:-31px;top:-11px;" onMouseOver="this.style.display='block'" onMouseOut="this.style.display='none'"></td></tr></table></div></td>
<td><img src="subject/images/separator.gif" border="0" width="4" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="ButtonSelect(this);ExecCmd('bold',null);" noWrap>
<img alt="粗体" src="subject/images/bold.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="ButtonSelect(this);ExecCmd('italic',null);" noWrap>
<img alt="斜体" src="subject/images/italic.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="ButtonSelect(this);ExecCmd('underline',null);" noWrap>
<img alt="下划线" src="subject/images/underline.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="ButtonSelect(this);ExecCmd('strikethrough',null);" noWrap>
<img alt="删除线" src="subject/images/strikethrough.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td><img src="subject/images/separator.gif" border="0" width="4" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="ExecCmd('superscript',null);" noWrap>
<img alt="上角文字" src="subject/images/superscript.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="ExecCmd('subscript',null);" noWrap>
<img alt="下角文字" src="subject/images/subscript.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="UpperCase();" noWrap>
<img alt="转换为大写字母" src="subject/images/UCase.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="LowerCase();" noWrap>
<img alt="转换为小写字母" src="subject/images/Lcase.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="SetAbsolutePosition();" noWrap>
<img alt="设置绝对位置" src="subject/images/abspos.gif" align="middle" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
<td class="TextEdit_ButtonNormal" onMouseOver="ButtonOver(this);" onMouseOut="ButtonOut(this);" onMouseDown="ButtonDown(this);" onClick="Help();" noWrap>
<img alt="帮助" src="subject/images/help.gif" border="0" width="20" height="20" UNSELECTABLE="on" /></td>
</tr>
</table>
</td>
<td><img src="subject/images/toolbar.end.gif" border="0" width="12" height="24" UNSELECTABLE="on" /></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 100%;">
<iframe class="TextEdit_iframe" name="TextEdit_Editor" id="TextEdit_Editor" onblur="CopyToHtmlBox();" style="word-break:break-all;"></iframe>
<textarea name="TextEdit" id="TextEdit" class="TextEdit" style="word-break:break-all;"><%=GetValue%></textarea>
<iframe class="TextEdit_iframe" style="display:none;" name="TextEdit_Preview" id="TextEdit_Preview" style="word-break:break-all;"></iframe>
</td>
</tr>
<tr>
<td>
<table border="0" cellPadding="0" class="MenuTable">
<tr id="mainrow">
<td width="259" class="TextEdit_TabOn" id="TextEdit_DesignModeTab" onClick="TextEdit_ChangeMode('design');" onMouseOver="TabOver();" onMouseOut="TabOut();">
<img src="subject/images/mode.design.gif" align="absmiddle" unselectable="on"> Design</td>
<td class="TextEdit_BlankTab"></td>
<td width="54" class="TextEdit_TabOff" id="TextEdit_HtmlModeTab" onClick="TextEdit_ChangeMode('html');" onMouseOver="TabOver();" onMouseOut="TabOut();" unselectable="on">
<img src="subject/images/mode.html.gif" align="absmiddle" unselectable="on"> HTML</td>
<td class="TextEdit_BlankTab"></td>
<td class="TextEdit_TabOff" id="TextEdit_PreviewModeTab" onMouseOver="TabOver();" onClick="TextEdit_ChangeMode('preview');" onMouseOut="TabOut();" align="right" width="54">
<img border="0" src="subject/images/mode.view.gif" align="absmiddle" unselectable="on"> Preview</td>
<td width="200" align="center" class="TextEdit_EndTab">总字数:<span id="totalchars">0</span></td>
<td><input type="button" value="确定" class="btn" onclick="javascript:window.returnValue = document.getElementById('TextEdit').value;window.close();"></td>
</tr>
</table>
</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript" src="subject/SubjectEdit.js"></script>
</div>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -