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

发布者:猫眼工作室   日期:2009-04-09   浏览:5596

    现在的网页在线编辑器有很多,且功能强大,比如eWebEditor,但有个问题是占用空间大,一些简单的论坛、留言板并不需要太强大的功能,HtmlEditor就是这样一个编辑器,简单漂亮,调用也方便,推荐大家使用。使用方法,和正常程序提交数据是一样的。

提交页:
<form method="POST" action="Post.asp" >
 <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
....

  效果图:

  

 

QQ: 825939387 微信客服 移动版 移动Vue版 微信小程序 Tel: 15990014001