Hello,
I'm new to the forums, and I am currently working to integrate FCKeditor 2.6.5 with a web application that I'm building. I am getting some odd behavior with Firefox 3.5.5. My code is written in PHP, and I use the FCKeditor in two separate pages. In one page, the editor works as expected. No problems. In the other page when I access the page using Firefox my CSS menus do not work any longer. No behavior when I mouse over, or click the menu links, however, the body of the page works just fine. I do not see the same behavior in IE 7, so it is likely browser related.
Both files, the one with working menus and the one without working menus are located at the same level on the server. The only differences in the two pages are the names of some of the variables, and the size of the editor areas. I tried adjusting the editor area to see whether that would change anything, but nothing changed on the page that is broken.
Here are my snipits of code from both pages:
Working page:
$editor = new FCKeditor ("description");
$editor->BasePath = "/fckeditor/";
$editor->ToolbarSet = "Custom";
$editor->Width = "550";
$editor->Height = "300";
$editor->Config['EnterMode'] = "br";
$editor->Value = $description;
$d_editor = $editor->Create ();
Broken page:
$editor = new FCKeditor ("description");
$editor->BasePath = "/fckeditor/";
$editor->ToolbarSet = "Custom";
$editor->Width = "100%";
$editor->Height = "600";
$editor->Config['EnterMode'] = "br";
$editor->Value = $description;
$d_editor = $editor->Create ();
I did try using a fixed pixel number instead of the 100%, and that didn't change anything.
I appreciate any help that anyone is able to provide...
Thank you,
Darin
I'm new to the forums, and I am currently working to integrate FCKeditor 2.6.5 with a web application that I'm building. I am getting some odd behavior with Firefox 3.5.5. My code is written in PHP, and I use the FCKeditor in two separate pages. In one page, the editor works as expected. No problems. In the other page when I access the page using Firefox my CSS menus do not work any longer. No behavior when I mouse over, or click the menu links, however, the body of the page works just fine. I do not see the same behavior in IE 7, so it is likely browser related.
Both files, the one with working menus and the one without working menus are located at the same level on the server. The only differences in the two pages are the names of some of the variables, and the size of the editor areas. I tried adjusting the editor area to see whether that would change anything, but nothing changed on the page that is broken.
Here are my snipits of code from both pages:
Working page:
$editor = new FCKeditor ("description");
$editor->BasePath = "/fckeditor/";
$editor->ToolbarSet = "Custom";
$editor->Width = "550";
$editor->Height = "300";
$editor->Config['EnterMode'] = "br";
$editor->Value = $description;
$d_editor = $editor->Create ();
Broken page:
$editor = new FCKeditor ("description");
$editor->BasePath = "/fckeditor/";
$editor->ToolbarSet = "Custom";
$editor->Width = "100%";
$editor->Height = "600";
$editor->Config['EnterMode'] = "br";
$editor->Value = $description;
$d_editor = $editor->Create ();
I did try using a fixed pixel number instead of the 100%, and that didn't change anything.
I appreciate any help that anyone is able to provide...
Thank you,
Darin
Re: CSS Menus Not Working in One Page with FCKeditor Object