Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-10-02 17:26:33

kram
Xinha Community Member
Registered: 2005-03-26
Posts: 21

HTMLArea not defined

I've searched the net and these forums and several people have looked at this besides me but we're stumped. Sorry to have to ask but we need a bit of inspiration please.

We're using XINHA - a recent download - with Domino 7. In most cases it's working fine but a minority of users get HTMLArea not defined, IE and Firefox users are affected. We've tried relative and fixed editor_url. The page source for working & failing browsers is identical. Versions & configurations in working and failing browsers seem to be the same.

<script type="text/javascript">
    var _editor_url='/XINHA/';
    var _editor_lang='en';
    var _editor_skin='xp-blue';
</script>
<script type="text/javascript" src="/XINHA/htmlarea.js"></script>
<script type="text/javascript" src="/dev/bigthing6mark.nsf/xinha_config.js"></script>
<link rel="alternate stylesheet" type="text/css" title="blue-look" href="../skins/blue-look/skin.css">
<link rel="alternate stylesheet" type="text/css" title="green-look" href="../skins/green-look/skin.css">

Has anyone come across browsers/add-ons that do their own thing with form onload and cause this error? Running other functions in the Form onload doesn't go down well with Xinha and that's all I can think of at the moment. What else could stop xinha_config from running successfully?

Incidentally - if you want to run a form onload event (which we aren't here) is the recommended way to add it to the end of the xinha_config file?

Any suggestions welcome.

Last edited by kram (2006-10-02 17:37:35)

Offline

#2 2006-10-07 08:25:42

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: HTMLArea not defined

Use a body onload event, not a form one.  I expect the form onload is fired before the body is completed in some instances.


James Sleeman

Offline

Board footer

Powered by FluxBB