跳转到主内容
新派编程网 - 新潮编程理念,全新技术课堂!

php fckeditor 调用的函数_PHP教程

复制代码代码如下:/** showfck() 编辑器调用函数* @name 名字 (必须)

* @val value默认值* @toolbarset fck工具栏名字* @width 宽度* @height 高度*/ function showfck($name, $val= '', $toolbarset = '', $width = '100%', $height = '200'){$classname = 'fckname';echo "";require_once WEB_ROOT . './include/fckeditor/fckeditor.

php';$fck = new FCKeditor($name);$fck->BasePath = './include/fckeditor/';$fck->Config['CustomConfigurationsPath'] = $fck->BasePath . 'custom_config.js';$fck->ToolbarSet = $toolbarset;$fck->Value = $val;$fck->Width = $width;$fck->Height = $height;$fck->Create('');echo "";}http://www.bkjia.com/PHPjc/320162.html www.bkjia.com true http://www.bkjia.com/PHPjc/320162.html TechArticle复制代码 代码如下: /* * showfck() 编辑器调用函数 * @name 名字 (必须) * @val value默认值 * @toolbarset fck工具栏名字 * @width 宽度 * @height 高度...

相关文章