?? simpleedit.htm
字號:
?<script type ="text/javascript" src="edit/edit.js">
</script>
<script type ="text/javascript" src="edit/1.js">
</script>
<span style="font-size: 10pt"></span>
<div id="toolbar" style="width: 350px; height: 9px; border-right: darkgray thin solid; border-top: darkgray thin solid; border-left: darkgray thin solid; border-bottom: darkgray thin solid; vertical-align: top; ">
<img src="edit/image/UI_bold.gif" onclick ="format('bold');" alt="加粗" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/UI_italic.gif" onclick ="format('italic');" alt="字體傾斜" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/UI_underline.gif" onclick ="format('underline');" alt="下劃線" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/UI_leftalign.gif" onclick ="format('Justifyleft');" alt="左對齊" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/UI_centeralign.gif" onclick ="format('Justifycenter');" alt="居中" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/UI_rightalign.gif" onclick ="format('JustifyRight');" alt="右對齊" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/gray_blank.gif" />
<img src="edit/image/UI_fontcolor.gif" onclick ="changeColor('ForeColor');" alt="字體顏色" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/UI_backcolor.gif" onclick ="changeColor('backColor');" alt="背景色" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/ui_link.gif" onclick ="CreateLink()" alt="插入超鏈接"; onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/ui_upimage.gif" onclick ="upImage();" alt="從本地上傳圖片" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" />
<img src="edit/image/insertUbb.jpg" onclick ="insertubb();" alt="插入小圖標" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" /><br />
<img src="edit/image/UI_paste.gif" onclick ="format('paste');" alt="粘貼" onmouseover="this.style.backgroundColor='limegreen'" onmouseout="this.style.backgroundColor=''" /><span
style="font-size: 10pt; vertical-align: super">←發(fā)表回復意外丟失,先點下面的編輯框,再點它</span></div>
<div id="editor" runat ="server" contenteditable="true" style="width: 350px; height: 212px; border-right: linen thin solid; padding-right: 0px; border-top: linen thin solid; padding-left: 0px; padding-bottom: 0px; margin: 0px; border-left: linen thin solid; padding-top: 0px; border-bottom: linen thin solid; overflow: auto; font-size: 11pt; text-indent: 20pt; line-height: 140%; font-family: 宋體, 楷體_GB2312, 'Times New Roman'; letter-spacing: normal; text-align: left;" >
</div>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -