You are not logged in.
Hi,
I activate my editors on-demand.
if I use showLoading in a page with more than one editor, the loading message is shown for all editors when I activate the first one
<!DOCTYPE BHTML PUBLIC "-//BC//DTD BHTML 3.2 Final//EN">
<html>
<head>
<script type="text/javascript">
_editor_url = document.location.href.replace(/examplesXX\/ext_example-body\.html.*/, '')
</script>
<script type="text/javascript" src="../XinhaCore.js"></script>
<script type="text/javascript">
xinha_editors = null;
xinha_init = null;
xinha_config = null;
xinha_plugins = null;
xinha_init = xinha_init ? xinha_init : function() {
xinha_plugins = [ ];
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
xinha_editors = ['myTextarea0','myTextarea1' ];
xinha_config = new Xinha.Config();
xinha_config.showLoading = true;
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
//Xinha.startEditors(xinha_editors);
}
window.onload = xinha_init;
</script>
</head>
<body>
<hr>
<div id="editors_here" name="editors_here">
<div class="area_holder">
<textarea spellcheck="false" style="width: 100%; height: 420px;" name="myTextarea0" id="myTextarea0" onclick="xinha_editors['myTextarea0'].generate();"></textarea>
</div>
<div class="area_holder">
<textarea spellcheck="false" style="width: 100%; height: 420px;" name="myTextarea1" id="myTextarea1" onclick="xinha_editors['myTextarea1'].generate();"></textarea>
</div>
</div>
</body>
</html>
Offline