当前位置: 首页 > 图文教程 > 网络编程 > ASP > 一个简单好用的UBB编辑器(含代码)

ASP
IIS 错误 Server Application Error 详细解决方法
On Error Resume Next 语句
ASP常用函数:CStrIP()
ASP常用函数:CLngIP()
ASP常用函数:XMLEncode
查看所有的Server Variables的环境变量
随机提取N条记录 推荐
一个可以自动创建多级目录的函数
ASP常用函数收藏乱七八糟未整理版
ASP常用函数:HTMLDecode
15种ASP技巧
ASP常用函数:IIF()
ASP常用函数:ArrayToxml
ASP常用函数:ReplaceHTML
改进性能和样式的24个ASP 技巧
如何将长的标题用省略号收尾
如何保持数据库输出格式不变
学习ASP和编程的28个观点
Asp实现假静态
初学asp者必看

ASP 中的 一个简单好用的UBB编辑器(含代码)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-08-14   浏览: 170 ::
收藏到网摘: n/a

    现在的在线编辑器有很多,且功能强大,比如eWebEditor,但也占用空间大,一些简单的论坛、留言板并不还需要太强大的功能,HtmlEditor就是这样一个编辑器,简单漂亮,调用也方便,推荐大家使用。

调用时代码,
提交页: 

<form method="POST" action="Post.asp" name="aaa">
 <input name="Title" size="50">
<textarea name="content" style="display:none"></textarea>
<iframe id="Editor" name="Editor" src="HtmlEditor/index.html?ID=content" frameborder="0" marginheight="0"     marginwidth="0" scrolling="No" style="height:320px;width:100%"></iframe>
<input type="submit"   value="确定" name="button">
</form>


 处理页:

....

recordset1.addnew()
recordset1("zt")=Request("Title")
recordset1("nr")=Request("Content")
recordset1.update

....

效果图:



下载地址:http://www.code-123.com/image/2008823185713995.rar