edit.jsp
资源名称:0102010.rar [点击查看]
上传用户:nbluoke
上传日期:2013-08-09
资源大小:4851k
文件大小:8k
源码类别:
教育系统应用
开发平台:
WORD
- <%@ page contentType="text/html; charset=gb2312" %>
- <html>
- <head>
- <title>编辑系统</title>
- <link rel="STYLESHEET" type="text/css" href="edit.css">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- </head>
- <script language="JavaScript">
- <!--
- function SymError()
- {
- return true;
- }
- window.onerror = SymError;
- var SymRealWinOpen = window.open;
- function SymWinOpen(url, name, attributes)
- {
- return (new Object());
- }
- window.open = SymWinOpen;
- //-->
- </script>
- <body bgcolor="menu" onload="var SymTmpWinOpen = window.open; window.open = SymWinOpen; InitDocument();; window.open = SymTmpWinOpen;" STYLE="margin:0pt;padding:0pt">
- <div class="yToolbar" ID="ExtToolbar">
- <div class="TBHandle"></div>
- <div class="Btn" TITLE="删除" LANGUAGE="javascript" onclick="format1('delete');">
- <img class="Ico" src="images/delete.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="Btn" TITLE="剪切" LANGUAGE="javascript" onclick="format1('cut');">
- <img class="Ico" src="images/cut.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="Btn" TITLE="复制" LANGUAGE="javascript" onclick="format1('copy');">
- <img class="Ico" src="images/copy.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="Btn" TITLE="粘贴" LANGUAGE="javascript" onclick="format1('paste');">
- <img class="Ico" src="images/paste.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="Btn" TITLE="撤消" LANGUAGE="javascript" onclick="format1('undo');">
- <img class="Ico" src="images/undo.gif" WIDTH="17" HEIGHT="16"> </div>
- <div class="Btn" TITLE="恢复" LANGUAGE="javascript" onclick="format1('redo');">
- <img class="Ico" src="images/redo.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="TBSep"></div>
- <div class="Btn" TITLE="插入表格" LANGUAGE="javascript" onclick="fortable()"> <img class="Ico" src="images/table.gif" WIDTH="18" HEIGHT="18">
- </div>
- <div class="Btn" TITLE="插入超级连接" LANGUAGE="javascript" onclick="UserDialog('CreateLink')">
- <img class="Ico" src="images/wlink.gif" WIDTH="22" HEIGHT="22"> </div>
- <!--div class="Btn" TITLE="插入图片" LANGUAGE="javascript" onclick="UserDialog('InsertImage');">
- <img class="Ico" src="images/img.gif" WIDTH="22" HEIGHT="22"> </div-->
- <div class="Btn" TITLE="插入水平线" LANGUAGE="javascript" onclick="format('InsertHorizontalRule')">
- <img class="Ico" src="images/hr.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="TBSep"></div>
- <iframe class="TBGen" style="top:2px" ID="UploadFiles" src="upload.jsp" frameborder=0 scrolling=no width="285" height="25">
- </iframe>
- <div class="TBSep"></div>
- <div TITLE="欢迎使用添加文章系统" >
-
-
-
- <font color=red size=2px>
- </font>
- </div>
- </div>
- <div class="yToolbar">
- <div class="TBHandle"></div>
- <select ID="formatSelect" class="TBGen" title="段落格式" onchange="doSelectClick('FormatBlock',this)" style="font: icon; width: 80px;">
- <option>段落格式</option>
- <option VALUE="<P>">普通
- <option VALUE="<PRE>">已编排格式
- <option VALUE="<H1>">标题一
- <option VALUE="<H2>">标题二
- <option VALUE="<H3>">标题三
- <option VALUE="<H4>">标题四
- <option VALUE="<H5>">标题五
- <option VALUE="<H6>">标题六
- <option VALUE="<H7>">标题七
- </select>
- <select id="specialtype" class="TBGen" onchange="doSelectClick('FormatBlock',this)" style="font: icon; width: 100px;">
- <option>特殊字体格式</option>
- <option VALUE="SUP">上标
- <option VALUE="SUB">下标
- <option VALUE="DEL">删除线
- <option VALUE="BLINK">闪烁
- <option VALUE="BIG">增大字体
- <option VALUE="SMALL">减小字体
- </select>
- <div class="Btn" TITLE="字体颜色" LANGUAGE="javascript" onclick="foreColor();">
- <img class="Ico" src="images/fgcolor.gif" WIDTH="23" HEIGHT="22"> </div>
- <div class="TBSep"></div>
- <div class="Btn" TITLE="加粗" LANGUAGE="javascript" onclick="format('bold');">
- <img class="Ico" src="images/bold.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="Btn" TITLE="斜体" LANGUAGE="javascript" onclick="format('italic');">
- <img class="Ico" src="images/italic.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="Btn" TITLE="下划线" LANGUAGE="javascript" onclick="format('underline');">
- <img class="Ico" src="images/underline.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="TBSep"></div>
- <div class="Btn" TITLE="左对齐" NAME="Justify" LANGUAGE="javascript" onclick="format('justifyleft');">
- <img class="Ico" src="images/aleft.gif" WIDTH="17" HEIGHT="16"> </div>
- <div class="Btn" TITLE="居中" NAME="Justify" LANGUAGE="javascript" onclick="format('justifycenter');">
- <img class="Ico" src="images/center.gif" WIDTH="17" HEIGHT="16"> </div>
- <div class="Btn" TITLE="右对齐" NAME="Justify" LANGUAGE="javascript" onclick="format('justifyright');">
- <img class="Ico" src="images/aright.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="TBSep"></div>
- <div class="Btn" TITLE="编号" LANGUAGE="javascript" onclick="format('insertorderedlist');">
- <img class="Ico" src="images/numlist.gif" WIDTH="18" HEIGHT="18"> </div>
- <div class="Btn" TITLE="项目符号" LANGUAGE="javascript" onclick="format('insertunorderedlist');">
- <img class="Ico" src="images/bullist.gif" WIDTH="18" HEIGHT="18"> </div>
- <div class="Btn" TITLE="减少缩进量" LANGUAGE="javascript" onclick="format('outdent');">
- <img class="Ico" src="images/outdent.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="Btn" TITLE="增加缩进量" LANGUAGE="javascript" onclick="format('indent');">
- <img class="Ico" src="images/indent.gif" WIDTH="16" HEIGHT="16"> </div>
- <div class="TBSep"></div>
- <div class="Btn" TITLE="使用帮助" LANGUAGE="javascript" onclick="help();"> <img class="Ico" src="images/help.gif" WIDTH="16" HEIGHT="16">
- </div>
- <div class="TBSep"></div>
- </div>
- <div class="yToolbar">
- <div class="TBHandle"></div>
- <div class="TBHandle"></div>
- <select language="javascript" class="TBGen" id="FontName" title="字体名" onchange="format('fontname',this[this.selectedIndex].value);">
- <option class="heading" selected>字体
- <option value="宋体">宋体
- <option value="黑体">黑体
- <option value="楷体_GB2312">楷体
- <option value="仿宋_GB2312">仿宋
- <option value="隶书">隶书
- <option value="幼圆">幼圆
- <option value="新宋体">新宋体
- <option value="细明体">细明体
- <option value="Arial">Arial
- <option value="Arial Black">Arial Black
- <option value="Arial Narrow">Arial Narrow
- <option value="Bradley Hand ITC">Bradley Hand ITC
- <option value="Brush Script MT">Brush Script MT
- <option value="Century Gothic">Century Gothic
- <option value="Comic Sans MS">Comic Sans MS
- <option value="Courier">Courier
- <option value="Courier New">Courier New
- <option value="MS Sans Serif">MS Sans Serif
- <option value="Script">Script
- <option value="System">System
- <option value="Times New Roman">Times New Roman
- <option value="Viner Hand ITC">Viner Hand ITC
- <option value="Verdana">Verdana
- <option value="Wide Latin">Wide Latin
- <option value="Wingdings">Wingdings</option>
- </select>
- <select language="javascript" class="TBGen" id="FontSize" title="字号大小" onchange="format('fontsize',this[this.selectedIndex].value);">
- <option class="heading" selected>字号
- <option value="7">一号
- <option value="6">二号
- <option value="5">三号
- <option value="4">四号
- <option value="3">五号
- <option value="2">六号
- <option value="1">七号</option>
- </select>
- <div class="TBSep"></div>
- <div class="TBGen" id="EditMode" title="使用 HTML">
- <input onclick="setMode(this.checked);" type="checkbox">
- 使用 HTML 语法书写 </div>
- </div>
- <div class="TBSep"></div>
- <iframe class="Composition" ID="Composition" MARGINHEIGHT="1" MARGINWIDTH="1" width="100%" height="240">
- </iframe>
- <script src="js/edit.js" type="text/javascript"></script>
- </body>
- <script language="JavaScript">
- <!--
- window.open = SymRealWinOpen;
- //-->
- </script>
- </html>