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 parseInt字符轉化為數(shù)字函數(shù)使用小結
前幾天做網(wǎng)站的時候需要講數(shù)據(jù)庫中的時間讀取到變量中進行使用,用到parseInt函數(shù),講字符轉化為數(shù)字。2009-11-11Javascript 普通函數(shù)和構造函數(shù)的區(qū)別
這篇文章主要介紹了Javascript 普通函數(shù)和構造函數(shù)的區(qū)別的相關資料,需要的朋友可以參考下2016-11-11關于JavaScript中的關聯(lián)數(shù)組分析
本篇文章小編為大家介紹,關于JavaScript中的關聯(lián)數(shù)組分析。有需要的朋友可以參考一下2013-04-04