March 7th, 2008
FCKeditor的工具栏调用
Category: Default, Author: humker, Popularity: 1%是用FCKeditor后可以发现实际上是产生了一个iframe
而这个iframe指向一个FCK组件的html地址
如果不使用对象方式来产生fck编辑器,而是仿造iframe及上面的写法也是可以产生FCK编辑器的
但是这样一来,对用户设置的限制工具栏的作用就没有了
按照下面的方式调用
<iframe id="FCKeditor1___Frame"
src="/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default"
width="100%" height="200" frameborder="0" scrolling="no">
</iframe>
可以获得所有的工具栏
随机文章
评论数量(0) | Add Comments
本文网址:http://www.humker.com/2008/03/07/fck-iframe/