I have a problem with the frontend editor (htmlarea3_xtd-c). It loads and I am able to enter text. Functions which use a popup (like links and tables) do not work however. The popup loads, but when I select an article to link to and click "ok", nothing happens. The same goes for inserting tables.
It worlks just fine through the backend, so I assume it's a problem in the template?
Is it in the enclosed code from my termplate?
Code:
<script language="Javascript1.2"><!-- // load htmlarea
_editor_url = "components/com_htmlarea3_xtd-c/"; // URL to htmlarea files
var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera') >= 0) { win_ie_ver = 0; }
if (win_ie_ver >= 5.5) {
document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');
document.write(' language="Javascript1.2"></scr' + 'ipt>');
} else { document.write('<scr'+'ipt>function editor_generate()
{ return false; }</scr'+'ipt>'); }
// --></script> I hope you can help - this is getting to me.....
