discuz的ubb编辑器[支持table标签]
根据网友的查询频率,ubb是查询的比较多的一个内容, 现在将discuz的ubb编辑器收集整理一下以及用法如下:截图:
[attach]263[/attach]
添加内容时调用编辑器方法:
<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")))
[attach]264[/attach]
页:
[1]