[smarty模板的作用]smarty模板中调用fckeditor编辑器方法

时间:2017-08-13  来源:smarty模板  阅读:
 代码如下
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>

<script type="text/javascript">
var oFCKeditor = new FCKeditor( "content" ) ;
oFCKeditor.BasePath = "fckeditor/" ;
oFCKeditor.Height = 300 ;
oFCKeditor.Value = "{ $content }" ;
oFCKeditor.Create() ;
</script>

[smarty模板的作用]smarty模板中调用fckeditor编辑器方法

http://m.bbyears.com/jiaocheng/34817.html

推荐访问:
相关阅读 猜你喜欢
本类排行 本类最新