Hi,
My PHP page uses 2 FCK fields :
...
$oFCKeditor = new FCKeditor('pChamp4') ;
$oFCKeditor->BasePath= $sBasePath ;
$oFCKeditor->Value = "";
$oFCKeditor->Create() ;
...
$oFCKeditor2 = new FCKeditor('pChamp5') ;
$oFCKeditor2->BasePath= $sBasePath2 ;
$oFCKeditor2->Value= "";
$oFCKeditor2->Create() ;
...
when I run this page under MSIE 6, it works but with firefix, I can use ONLY ON FIELD !!! if I first click on the first, I can no longer write any text in the second, but if I reload the page and I write something in the 2nd fields, the first is desabled !! I can write only in source mode !!!
Can you please help me ???
Thanx
Wed, 07/20/2005 - 02:08
#1
RE: two FCK fiels in the same page
see this code .. and notice the properties...
___________________________________________________________
<div>
<input type=\"hidden\" id=\"MyEditor\" name=\"exec_sum\" value=\"\">
<input type=\"hidden\" id=\"MyEditor___Config\" value=\"Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded)\">
<iframe id=\"MyEditor___Frame\" src=\"editor/editor/fckeditor.html?InstanceName=MyEditor&Skin=Office2003&Toolbar=Default\" width=\"100%\" height=\"200\" frameborder=\"no\" scrolling=\"no\">
</iframe>
</div>
</td>
</tr>
<tr>
<td colspan=\"5\"><hr>
</td>
</tr>
<tr>
<td width=\"210\" valign=\"top\">
<strong><font color=\"#FF0000\" size=\"-1\">*</font><font color=\"#003366\" size=\"-1\">Analysis:</font></strong>
</td>
<td colspan=\"3\"><div align=\"left\"><strong></strong>
</div>
<div>
<input type=\"hidden\" id=\"MyEditor2\" name=\"analysis\" value=\"\">
<input type=\"hidden\" id=\"MyEditor2___Config\" value=\"Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded)\">
<iframe id=\"MyEditor2___Frame\" src=\"editor/editor/fckeditor.html?InstanceName=MyEditor2&Skin=Office2003&Toolbar=Default\" width=\"100%\" height=\"200\" frameborder=\"no\" scrolling=\"no\">
</iframe>
</div>
</td>
</tr>
<tr>
<td colspan=\"5\"><hr>
</td>
</tr>
<tr>
<tr>
<td width=\"210\" valign=\"top\">
<strong><font color=\"#FF0000\" size=\"-1\">*</font><font color=\"#003366\" size=\"-1\">Recommendations:</font></strong>
</td>
<td colspan=\"3\"><div align=\"left\"><strong></strong>
</div>
<div>
<input type=\"hidden\" id=\"MyEditor3\" name=\"recommendations\" value=\"\">
<input type=\"hidden\" id=\"MyEditor3___Config\" value=\"Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded)\">
<iframe id=\"MyEditor3___Frame\" src=\"editor/editor/fckeditor.html?InstanceName=MyEditor3&Skin=Office2003&Toolbar=Default\" width=\"100%\" height=\"200\" frameborder=\"no\" scrolling=\"no\">
</iframe>
</div>
RE: two FCK fiels in the same page
but even your script doesn't work on FIREFOX (v1.0.4) !! it works on IE but not on fire fox, my script works on IE, too. This is not the problem, the problem is with firefox, when you use more than 2 fck fields, you can use only the LAST fileld, the others are desabled, you can type something when you are in HTML mode ONLY
it's a bug
I think that it's a bug that apperas only with firefox !!
have a look on this (french) :
http://www.blue-pen.net/news_4-Trucs_de_geek.htm