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

更新时间:2017-08-13    来源:smarty模板    手机版     字体:

【www.bbyears.com--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>

本文来源:http://www.bbyears.com/jiaocheng/34817.html