Having a lot of fun trying to get FCKEditor to work. Using the textarea replacement method, I have an application that runs fine locally and stops working once it is uploaded to a remote server. I am getting the error "'FCKConfig.FontColors' is null or not an object" every time FCK loads. The script is included below.
Any thoughts, anyone?
M
------------------------
<link href="style/editor.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="fckeditor.js"></script>
<script language="javascript">
window.onload = function() {
var sBasePath = '/editor/' ;
var oFCKeditor = new FCKeditor( 'welcome_msg' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
<br>Intro Text<br><br>
<input type="submit" value="Submit">
Any thoughts, anyone?
M
------------------------
<link href="style/editor.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="fckeditor.js"></script>
<script language="javascript">
window.onload = function() {
var sBasePath = '/editor/' ;
var oFCKeditor = new FCKeditor( 'welcome_msg' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
<br>Intro Text<br><br>
<textarea id="welcome_msg" name="welcome_msg" style="WIDTH: 100%; HEIGHT: 200px"><?php echo stripslashes($_REQUEST['welcome_msg']) ?></textarea>
<input type="submit" value="Submit">
RE: FCKConfig.FontColors is null or not an object
M
RE: FCKConfig.FontColors is null or not an object