htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: WYSIWYG Forums: WYSIWYG Editor Discussion:
HTMLArea 3.0 installation problem!!


 


michaelliu0624
New User

Nov 7, 2006, 8:52 PM

Post #1 of 1 (13881 views)
Shortcut
HTMLArea 3.0 installation problem!! Can't Post

Hi~ I have problem install HTMLArea 3.0
I unzip HTMLArea and copy to /var/www/html/test/htmlarea
My web-page is store in /test/
I type : <head>
<script type="text/javascript">
_editor_url = "./htmlarea";
_editor_lang = "en";
</script>
<script type="text/javascript"
src="./htmlarea/htmlarea.js"></script>
<script type="text/javascript" >
function initEditor(){
editor = new HTMLArea("creater_information");
editor = new HTMLArea("motives_purpose");
editor = new HTMLArea("design_demand");
editor = new HTMLArea("results_application");
editor = new HTMLArea("reference");
editor.generate();
return false;
}
</script>
</head>
where there are 5 textareas included in one FORM on this webpage. At the end of </form>, I type:
<script type="text/javascript" defer="1">
initEditor();
</script>

When I browse the webpage, it doesn't work and warning popup says:
Error: You must called HTMLArea.int() first. Like this:
HTMLArea.int();
HTMLArea.onload=function(){
var editor=new HTMLArea('editor');
editor.generate();
};

 
 
 


Search for (options)