09-09
11

天枫所见所得UBB编辑器调用方法

添加内容时调用编辑器方法:
<textarea name="content" cols="80" rows="15" id="content" style="display:none</textarea>
<iframe ID="Editor" name="Editor" src="路径/ubb/edit.htm?id=content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:320;width:100%"></iframe>


编辑内容时调用编辑器方法:
<textarea name="content" cols="80" rows="15" id="content" style="display:none"><%=server.htmlencode(content)%></textarea>
<iframe ID="Editor" name="Editor" src="路径/ubb/edit.htm?id=content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:320;width:100%"></iframe>


显示数据库的内容方法:
1、在要显示的页面包含ubb.asp
2、 ubbcode(server.htmlencode(rs("content")))


文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: 天枫 UBB 调用
相关日志:
评论: 0 | 引用: 0 | 查看次数: 221
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 1000 字 | UBB代码 开启 | [img]标签 关闭