<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>HtmlEditor</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--editor与html文件上级目录平级-->
<script src="../editor/HtmlEditor.js"></script>
</head>
<body>
<s:form theme="simple">
</table>
<tr>
<td valign="top" bgcolor="#FFFFFF" class="input2" align="left">
<span class="STYLE57">* </span>内容:
</td>
<td bgcolor="#FFFFFF">
<script>
__ImageRoot = "../editor/"; // 编辑器JS文件相对于本页的路径
__SummaryID = "summary"; // 要输入摘要的HTML控件ID
__SummaryLen = 50; // 摘要的长度
__ContentID = "content"; // 内容提取或写入的HTML控件ID
HtmlEditor('内容', '500', '300');
</script>
<input type="hidden" name="content" id="content">
</td>
</tr>
<tr>
<td height="35" bgcolor="#FFFFFF" class="input2" align="left">
内容摘要:
</td>
<td bgcolor="#FFFFFF">
<span class="cdTABLE">
<textarea name="summary" id="summary" cols="65" rows="4" class="txt_099">
系统自动摘取您输入内容的前50个字,如您要修改,请编辑此处。
</textarea>
</span>
</td>
</tr>
</table>
</s:form>
</body>
</html>