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

Javascript
打开windows运行对话框的js
[原创]保存的js无法执行的解决办法
可以关闭计算机的js脚本
JavaScript中void(0)的具体含义解释
javascript编程起步(第三课)
javascript第一课
javascript里的条件判断
setTimeout和setInterval的浏览器兼容性分析
js实现图片等比缩略显示 支持IE/FF
特殊数据的js四舍五入问题
求解开jscript.encode代码的asp函数
用javascript实现“闪动”标题栏
用javascript实现记录来宾姓名的代码
[JS]实现动态增加框架!未完成
用js一招破解所有网页的加密源代码的方法
窗口没有提示自动关闭的js代码
解决远程页面抓取中的乱码问题?
如何实现从照片中裁切自已的肖像呢?
参考:关于Javascript中实现暂停的几篇文章
Javascript中暂停功能的实现代码

Javascript 中的 FCK调用方法..


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 117 ::
收藏到网摘: 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>