You are not logged in.
Pages: 1
Hi!
I need dynamic Xinha instances on page, so when new instance should be created i use code:
Xinha.startEditors(Xinha.makeEditors([ID-of-textarea], xinha_config, xinha_plugins));
Config is exactly the sames as shown on http://xinha.webfactional.com/wiki/NewbieGuide except of lines :
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
Xinha.startEditors(xinha_editors);
are commented out
It works fine in Firefox 3, but when creating new editor in IE6 I got one of results: error "Object does not support this property or method" or
editor is created but is empty(does not display text from textarea) and is not editable(like read-only).
Is any solution for this problem? Xinha version 0.95
Offline
I included all needed files
<script type="text/javascript">
_editor_url = "/misc/js/Xinha_0.95/"
_editor_lang = "en";
</script>
<script type="text/javascript" src="/misc/js/Xinha_0.95/XinhaCore.js"></script>
And also config file. If i create Xinha instances statically everything is OK, but problem is when I try to create instances dynamically.
Offline
Pages: 1