By: NeverPanic
Date: 2006-07-16
Time: 15:59
|
Re: FCKEditor
It works, I can tell you that.
I would send you a live example, but I only use FCKeditor for the backend systems I write, so it would probably be a bad idea to give access out to the public.
<script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
use_charset = 'utf-8';
function addNews() {
document.getElementById('new').style.display = 'block';
scroll(0, 0);
var deFCKeditor = new FCKeditor( 'FCKeditor_de', '100%', '300px' );
deFCKeditor.BasePath = '/FCKeditor/';
deFCKeditor.ReplaceTextarea();
var enFCKeditor = new FCKeditor( 'FCKeditor_en', '100%', '300px' );
enFCKeditor.BasePath = '/FCKeditor/';
enFCKeditor.ReplaceTextarea();
}
function hideNew() {
window.location.href = window.location.href;
}
// [onshow;when [var.newsAdminAccess]!=true;block=script+script+(script)]
</script>
--------------------------
<div style="height:300px;">
<textarea name="FCKeditor_de" id="FCKEditor_de" cols="50" rows="10" style="width:100%; height:100%"> </textarea>
</div>
|
|