当前位置: 首页 > 图文教程 > 网络编程 > Javascript > FCK调用方法..

Javascript
JavaScript[对象.属性]集锦之五
JavaScript[对象.属性]集锦之六
JavaScript[对象.属性]集锦之七
JavaScript[对象.属性]集锦之八
JavaScript[对象.属性]集锦之九
JavaScript[对象.属性]集锦之十
javascript进行客户端数据的校验(1)
javascript进行客户端数据的校验(2)
用JavaScript实现变色背景和文字(2)
用JavaScript实现文件夹轻松加密
初学Javascript之cookie篇(1)
初学Javascript之cookie篇(2)
初学Javascript之cookie篇(3)
初学Javascript之cookie篇(4)
JavaScript学习:基础继承机制(1)
JavaScript学习:基础继承机制(2)
JavaScript对象与数组参考大全(1)
JavaScript对象与数组参考大全(2)
JavaScript对象与数组参考大全(3)
JavaScript对象与数组参考大全(4)

Javascript 中的 FCK调用方法..


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 152 ::
收藏到网摘: n/a

<script type="text/javascript" src="editor/fckeditor.js"></script>
<script type="text/javascript">
<!--
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
var oFCKeditor = new FCKeditor( 'zhangthree' ) ;
oFCKeditor.BasePath = '/editor/' ;
oFCKeditor.Height = 300 ;
oFCKeditor.Value = '随便写点内容!' ;
oFCKeditor.Create() ;
//-->
</script>