<?phprequire_once './FCKeditor/fckeditor.php';$oFCKeditor = new FCKeditor('FCKeditor1') ; //初始化类
$oFCKeditor->BasePath = 'FCKeditor/'; //路径
$oFCKeditor->ToolbarSet = 'Default' ; //工具按钮
$oFCKeditor->Value = defauleValue; //初始值
$oFCKeditor->InstanceName = 'name' ; //实例名称,即编辑框的名字
$oFCKeditor->Width = '100%' ; //宽度
$oFCKeditor->Height = '400' ; //高度
$oFCKeditor->Create() ; //生成编辑框
?>只有在$oFCKeditor->ToolbarSet为"Default"或者"Basic"工具栏时,修改FCKConfig.ToolbarSets["Default"]和FCKConfig.ToolbarSets["Basic"]才有效!
$oFCKeditor->BasePath = 'FCKeditor/'; //路径
$oFCKeditor->ToolbarSet = 'Default' ; //工具按钮
$oFCKeditor->Value = defauleValue; //初始值
$oFCKeditor->InstanceName = 'name' ; //实例名称,即编辑框的名字
$oFCKeditor->Width = '100%' ; //宽度
$oFCKeditor->Height = '400' ; //高度
$oFCKeditor->Create() ; //生成编辑框
?>只有在$oFCKeditor->ToolbarSet为"Default"或者"Basic"工具栏时,修改FCKConfig.ToolbarSets["Default"]和FCKConfig.ToolbarSets["Basic"]才有效!
并且也修改了basic那个toolbarsets数组里面的item``但是始终显示的是默认的basic···用ie和firefox都是同样的显示默认basic风格```