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

Javascript
一种表格背景色渐变效果的实现
一组单选按钮radio如何进行控制
Bmail联系人飞来飞去效果
mouseover时显示滚动字幕 特效
window.open()弹出居中的窗口
做网页的一些技巧
背景音乐每次刷新都可以自动更换
Javascript 判断 object 的特定类转载
Javascript的荧光字效果
任意位置显示html菜单
HTTP状态代码以及定义(解释)
JavaScript中“+=”的应用
函数式JavaScript编程指南
如何优化JavaScript脚本的性能
Code:loadScript( )加载js的功能函数
关于实现代码语法标亮 dp.SyntaxHighlighter
JavaScript 学习 - 提高篇
Javascript的IE和Firefox兼容性汇编(zz)
如何判断图片地址是否失效
javascript汉字转拼音的代码

Javascript 中的 FCK调用方法..


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