<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'content' ) ;
oFCKeditor.BasePath = "js/Javascript/fckeditor/" ;
oFCKeditor.Height = 300;
oFCKeditor.Width = 600;
oFCKeditor.ReplaceTextarea() ;
}
function fnenable(){
var myValue=document.getElementById("checkbox1").checked;
var oEditor = FCKeditorAPI.GetInstance('content');
if(myValue==true) {
oEditor.EditorDocument.body.disabled=false;
} else {
oEditor.EditorDocument.body.disabled=true;
}
}
</script>
我已经关注了网站http://www.fckeditor.net/forums/viewtopic.php?f=5&t=69。
提前致谢