Announcement

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

#1 2007-10-15 14:17:50

kroesss
Xinha Community Member
Registered: 2007-10-15
Posts: 16

Problems with non-FF browser

Hello,

I'm checking out Xinha, and I run across some problems.

I've installed Xinha in a (very small) script on my localhost, and I can run it in Firefox, but when I try to call the script in IE6, IE7 or Safari the pageloading stalls when the "my_config.js"-file.

I'm quite convinced that the file should be correct, since it is almost an exact copy from the beginners tutorial. I've included the file below (to shorten the post I deleted the comments here)

Can anybody see anything wrong with this? My textarea (just one) has id="inhoud"

    xinha_editors = null;
    xinha_init    = null;
    xinha_config  = null;
    xinha_plugins = null;

     xinha_init = xinha_init ? xinha_init : function()
    {

      xinha_plugins = xinha_plugins ? xinha_plugins :
      [
       'CharacterMap',
       'ContextMenu',
       'ListType',
       'SpellChecker',
       'Stylist',
       'SuperClean',
       'TableOperations'
      ];

             if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;

      xinha_editors = xinha_editors ? xinha_editors :
      [
        'inhoud'
      ];

       xinha_config = xinha_config ? xinha_config() : new Xinha.Config();
       xinha_config.width  = '595px';
       xinha_config.height = '480px';

      xinha_editors   = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);

      Xinha.startEditors(xinha_editors);
    }

    Xinha._addEvent(window,'load', xinha_init);

Offline

#2 2007-10-17 06:14:04

kroesss
Xinha Community Member
Registered: 2007-10-15
Posts: 16

Re: Problems with non-FF browser

Really nobody?

** Edit
Nevermind, I had a really clumpsy mistake in the html, there already was a div with the same id as I gave to the textarea...

Last edited by kroesss (2007-10-17 14:58:31)

Offline

Board footer

Powered by FluxBB