FCK调用方法..
更新时间:2006年12月21日 00:00:00 作者:
<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>
<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>
相关文章
Javascript Math ceil()、floor()、round()三个函数的区别
Round是四舍五入的。。。Ceiling是向上取整。。float是向下取整2010-03-03JavaScript lastIndexOf方法入门实例(计算指定字符在字符串中最后一次出现的位置)
这篇文章主要介绍了JavaScript字符串对象的lastIndexOf方法入门实例,lastIndexOf方法用于计算指定字符在字符串中最后一次出现的位置,需要的朋友可以参考下2014-10-10浅谈JavaScript中的Math.atan()方法的使用
这篇文章主要介绍了JavaScript中的Math.atan()方法的使用,是JS入门学习中的基础知识,需要的朋友可以参考下2015-06-06Javascript实例教程(19) 使用HoTMetal(4)
Javascript实例教程(19) 使用HoTMetal(4)...2006-12-12
最新评论