⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 webeditor.jsp

📁 一个目前正在上线运行的JSP企业网站系统
💻 JSP
📖 第 1 页 / 共 3 页
字号:
<option value="&lt;H3&gt;">标题三</option>
<option value="&lt;H4&gt;">标题四</option>
<option value="&lt;H5&gt;">标题五</option>
<option value="&lt;H6&gt;">标题六</option>
<option value="&lt;p&gt;">段落</option>
<option value="&lt;dd&gt;">定义</option>
<option value="&lt;dt&gt;">术语定义</option>
<option value="&lt;dir&gt;">目录列表</option>
<option value="&lt;menu&gt;">菜单列表</option>
<option value="&lt;PRE&gt;">已编排格式</option></SELECT><SELECT CLASS="TBGen" onchange="format('fontname',this[this.selectedIndex].value);this.selectedIndex=0"><option selected>字体</option>
<option value="宋体">宋体</option>
<option value="黑体">黑体</option>
<option value="楷体_GB2312">楷体</option>
<option value="仿宋_GB2312">仿宋</option>
<option value="隶书">隶书</option>
<option value="幼圆">幼圆</option>
<option value="Arial">Arial</option>
<option value="Arial Black">Arial Black</option>
<option value="Arial Narrow">Arial Narrow</option>
<option value="Brush Script	MT">Brush Script MT</option>
<option value="Century Gothic">Century Gothic</option>
<option value="Comic Sans MS">Comic Sans MS</option>
<option value="Courier">Courier</option>
<option value="Courier New">Courier New</option>
<option value="MS Sans Serif">MS Sans Serif</option>
<option value="Script">Script</option>
<option value="System">System</option>
<option value="Times New Roman">Times New Roman</option>
<option value="Verdana">Verdana</option>
<option value="Wide Latin">Wide Latin</option>
<option value="Wingdings">Wingdings</option></SELECT><SELECT CLASS="TBGen" onchange="format('fontsize',this[this.selectedIndex].value);this.selectedIndex=0"><option selected>字号</option>
<option value="7">一号</option>
<option value="6">二号</option>
<option value="5">三号</option>
<option value="4">四号</option>
<option value="3">五号</option>
<option value="2">六号</option>
<option value="1">七号</option></SELECT><SELECT CLASS="TBGen" onchange="doZoom(this[this.selectedIndex].value)"><option value="10">10%</option>
<option value="25">25%</option>
<option value="50">50%</option>
<option value="75">75%</option>
<option value="100" selected>100%</option>
<option value="150">150%</option>
<option value="200">200%</option>
<option value="500">500%</option></SELECT>
<DIV CLASS="Btn" TITLE="粗体" onclick="format('bold')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/bold.gif"></DIV>

<DIV CLASS="Btn" TITLE="斜体" onclick="format('italic')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/italic.gif"></DIV>
<DIV CLASS="Btn" TITLE="下划线" onclick="format('underline')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/underline.gif"></DIV>
<DIV CLASS="Btn" TITLE="中划线" onclick="format('StrikeThrough')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/strikethrough.gif"></DIV>
<DIV CLASS="Btn" TITLE="上标" onclick="format('superscript')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/superscript.gif"></DIV>
<DIV CLASS="Btn" TITLE="下标" onclick="format('subscript')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/subscript.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="左对齐" onclick="format('justifyleft')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/justifyleft.gif"></DIV>
<DIV CLASS="Btn" TITLE="居中对齐" onclick="format('justifycenter')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/justifycenter.gif"></DIV>
<DIV CLASS="Btn" TITLE="右对齐" onclick="format('justifyright')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/justifyright.gif"></DIV>
<DIV CLASS="Btn" TITLE="两端对齐" onclick="format('JustifyFull')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/justifyfull.gif"></DIV>
</DIV>
</td></tr><tr><td><div class=yToolbar><DIV CLASS="TBHandle"></DIV>
<DIV CLASS="Btn" TITLE="剪切" onclick="format('cut')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/cut.gif"></DIV>
<DIV CLASS="Btn" TITLE="复制" onclick="format('copy')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/copy.gif"></DIV>
<DIV CLASS="Btn" TITLE="常规粘贴" onclick="format('paste')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/paste.gif"></DIV>
<DIV CLASS="Btn" TITLE="纯文本粘贴" onclick="PasteText()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/pastetext.gif"></DIV>
<DIV CLASS="Btn" TITLE="从Word中粘贴" onclick="PasteWord()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/pasteword.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="查找替换" onclick="findReplace()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/findreplace.gif"></DIV>
<DIV CLASS="Btn" TITLE="删除" onclick="format('delete')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/delete.gif"></DIV>
<DIV CLASS="Btn" TITLE="删除文字格式" onclick="format('RemoveFormat')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/removeformat.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="撤消" onclick="goHistory(-1)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/undo.gif"></DIV>
<DIV CLASS="Btn" TITLE="恢复" onclick="goHistory(1)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/redo.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="全部选中" onclick="format('SelectAll')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/selectall.gif"></DIV>
<DIV CLASS="Btn" TITLE="取消选择" onclick="format('Unselect')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/unselect.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="编号" onclick="format('insertorderedlist')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/insertorderedlist.gif"></DIV>
<DIV CLASS="Btn" TITLE="项目符号" onclick="format('insertunorderedlist')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/insertunorderedlist.gif"></DIV>
<DIV CLASS="Btn" TITLE="增加缩进量" onclick="format('indent')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/indent.gif"></DIV>
<DIV CLASS="Btn" TITLE="减少缩进量" onclick="format('outdent')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/outdent.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="字体颜色" onclick="ShowDialog('Dialog/selcolor.htm?action=forecolor', 280, 250, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/forecolor.gif"></DIV>
<DIV CLASS="Btn" TITLE="对象背景颜色" onclick="ShowDialog('Dialog/selcolor.htm?action=bgcolor', 280, 250, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/bgcolor.gif"></DIV>
<DIV CLASS="Btn" TITLE="字体背景颜色" onclick="ShowDialog('Dialog/selcolor.htm?action=backcolor', 280, 250, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/backcolor.gif"></DIV>
<DIV CLASS="Btn" TITLE="背景图片" onclick="ShowDialog('Dialog/backimage.htm', 350, 210, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/bgpic.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="绝对或相对位置" onclick="absolutePosition()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/abspos.gif"></DIV>
<DIV CLASS="Btn" TITLE="上移一层" onclick="zIndex('forward')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/forward.gif"></DIV>
<DIV CLASS="Btn" TITLE="下移一层" onclick="zIndex('backward')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/backward.gif"></DIV>
</DIV>
</td></tr><tr><td><div class=yToolbar><DIV CLASS="TBHandle"></DIV>
<DIV CLASS="Btn" TITLE="插入或修改图片" onclick="ShowDialog('Dialog/img.htm', 350, 315, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/img.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入Flash动画" onclick="ShowDialog('Dialog/flash.htm', 350, 200, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/flash.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入自动播放的媒体文件" onclick="ShowDialog('Dialog/media.htm', 350, 200, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/media.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入其他文件" onclick="ShowDialog('Dialog/file.htm', 350, 150, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/file.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="表格菜单" onclick="showToolMenu('table')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/tablemenu.gif"></DIV>
<DIV CLASS="Btn" TITLE="表单菜单" onclick="showToolMenu('form')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/formmenu.gif"></DIV>
<DIV CLASS="Btn" TITLE="显示或隐藏指导方针" onclick="showBorders()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/showborders.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="插入或修改栏目框" onclick="ShowDialog('Dialog/fieldset.htm', 350, 170, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/fieldset.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入或修改网页帧" onclick="ShowDialog('Dialog/iframe.htm', 350, 200, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/iframe.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入水平尺" onclick="format('InsertHorizontalRule')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/inserthorizontalrule.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入或修改字幕" onclick="ShowDialog('Dialog/marquee.htm', 395, 150, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/marquee.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="插入或修改超级链接" onclick="createLink()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/createlink.gif"></DIV>
<DIV CLASS="Btn" TITLE="图形热点链接" onclick="mapEdit()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/map.gif"></DIV>
<DIV CLASS="Btn" TITLE="取消超级链接或标签" onclick="format('UnLink')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/unlink.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="插入特殊字符" onclick="ShowDialog('Dialog/symbol.htm', 350, 220, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/symbol.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入表情图标" onclick="ShowDialog('Dialog/emot.htm', 300, 180, true)"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/emot.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入Excel表格" onclick="insert('excel')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/excel.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入当前日期" onclick="insert('nowdate')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/date.gif"></DIV>
<DIV CLASS="Btn" TITLE="插入当前时间" onclick="insert('nowtime')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/time.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<DIV CLASS="Btn" TITLE="引用样式" onclick="insert('quote')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/quote.gif"></DIV>
<DIV CLASS="TBSep"></DIV>
<%
if(strIsFullScreen.equalsIgnoreCase("1"))
{
  %>
  <DIV CLASS="Btn" TITLE="全屏返回" onclick="parent.Minimize()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/minimize.gif"></DIV>
  <%
}
else
{
  %>
  <DIV CLASS="Btn" TITLE="全屏编辑" onclick="Maximize()"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/maximize.gif"></DIV>
  <%
}
%>
<DIV CLASS="Btn" TITLE="查看使用帮助" onclick="ShowDialog('Dialog/help.htm','400','300')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/help.gif"></DIV>
<DIV CLASS="Btn" TITLE="关于 - WebEditor" onclick="ShowDialog('Dialog/about.htm','400','220')"><IMG CLASS="Ico" SRC="ButtonImage/<%=strImgFilePath%>/about.gif"></DIV></div></td></tr></table>
<%
}
%>
</td></tr>
<tr><td height='100%'>

  <table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%'>
  <tr><td height='100%'>
  <input type="hidden" ID="ContentEdit" value="">
  <input type="hidden" ID="ModeEdit" value="">
  <input type="hidden" ID="ContentLoad" value="">
  <input type="hidden" ID="ContentFlag" value="0">
  <iframe class="Composition" ID="WebEditor" MARGINHEIGHT="1" MARGINWIDTH="1" width="100%" height="100%" scrolling="yes">
  </iframe>
  </td></tr>
  </table>


</td></tr>
<%
if(!strShowStaticBar.equalsIgnoreCase("0"))
{
  out.print("<tr>");
}
else
{
  out.print("<tr style=\"display:none\">");
}
%>
<td height=25>

  <TABLE border="0" cellPadding="0" cellSpacing="0" width="100%" class=StatusBar height=25>
  <TR valign=middle>
  <td>
    <table border=0 cellpadding=0 cellspacing=0 height=20>
    <tr>
    <td width=10></td>
    <td class=StatusBarBtnOff id=WebEditor_CODE onclick="setMode('CODE')"><img border=0 src="ButtonImage/<%=strImgFilePath%>/modecode.gif" width=50 height=15 align=absmiddle></td>
    <td width=5></td>
    <td class=StatusBarBtnOff id=WebEditor_EDIT onclick="setMode('EDIT')"><img border=0 src="ButtonImage/<%=strImgFilePath%>/modeedit.gif" width=50 height=15 align=absmiddle></td>
    <td width=5></td>
    <td class=StatusBarBtnOff id=WebEditor_TEXT onclick="setMode('TEXT')"><img border=0 src="ButtonImage/<%=strImgFilePath%>/modetext.gif" width=50 height=15 align=absmiddle></td>
    <td width=5></td>
    <td class=StatusBarBtnOff id=WebEditor_VIEW onclick="setMode('VIEW')"><img border=0 src="ButtonImage/<%=strImgFilePath%>/modepreview.gif" width=50 height=15 align=absmiddle></td>
    </tr>
    </table>
  </td>
  <td align=center id=WebEditor_License style="font-size:9pt"></td>
  <td align=right>
    <table border=0 cellpadding=0 cellspacing=0 height=20>
    <tr>
    <td style="cursor:pointer;" onclick="sizeChange(300)"><img border=0 SRC="ButtonImage/<%=strImgFilePath%>/sizeplus.gif" width=20 height=20 alt="增高编辑区"></td>
    <td width=5></td>
    <td style="cursor:pointer;" onclick="sizeChange(-300)"><img border=0 SRC="ButtonImage/<%=strImgFilePath%>/sizeminus.gif" width=20 height=20 alt="减小编辑区"></td>
    <td width=40></td>
    </tr>
    </table>
  </td>
  </TR>
  </Table>
</td></tr>
</table>

<div id="WebEditor_Temp_HTML" style="VISIBILITY: hidden; OVERFLOW: hidden; POSITION: absolute; WIDTH: 1px; HEIGHT: 1px"></div>
<div id="divTemp" style="VISIBILITY: hidden; OVERFLOW: hidden; POSITION: absolute; WIDTH: 1px; HEIGHT: 1px"></div>

<form id="WebEditor_UploadForm" action="upload.jsp?action=remote&type=remote&style=s_coolblue" method="post" target="WebEditor_UploadTarget">
<input type="hidden" name="WebEditor_UploadText">
</form>
<iframe name="WebEditor_UploadTarget" width=0 height=0></iframe>
<div id=divProcessing style="width:200px;height:30px;position:absolute;display:none">
<table border=0 cellpadding=0 cellspacing=1 bgcolor="#000000" width="100%" height="100%"><tr><td bgcolor=#3A6EA5><marquee align="middle" behavior="alternate" scrollamount="5" style="font-size:9pt"><font color=#FFFFFF>...远程文件收集中...请等待...</font></marquee></td></tr></table>
</DIV>

</body>
</html>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -