我在下载的fckeditor文件夹里引用fckeditor没问题,我就这样就可以了
 include('fckeditor.php'); $sBasePath = $_SERVER['PHP_SELF'] ; $sBasePath = dirname($sBasePath).'/'; $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath   = $sBasePath ; $oFCKeditor->Create();
问题是,我想在fckeditor文件夹外引用fckeditor的话,光修改include还不行是吧,请教我正确方法

解决方案 »

  1.   

    <script language=javascript>document.write ("<FORM method='POST' name='myform'>");
    document.write ("<INPUT type='hidden' name='content1' value=''>");
    document.write ("<IFRAME ID='eWebEditor1' src='ewebeditor.htm?id=content1&style=" + URLParams["style"] + "' frameborder='0' scrolling='no' width='100%' height='100%'></IFRAME>");
    document.write ("</FORM>");setTimeout("setValue();",1000);</script>