如何编写简单好用的UBB编辑器代码 [ 网站地图 ]

发表于:2010-2-10 浏览:103 作者: 来源:站长资讯网

关键字:UBB编辑器,代码

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

    现在的在线编辑器有很多,且功能强大,比如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

....

 


站长资讯网 做中国最丰富的资讯网站 沪ICP备05004089号