Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Script error

More
12 years 4 months ago #645 by girdy
Script error was created by girdy
I wonder if anyone can point me in the right direction to resolving the following error I am getting when using this plugin. In ie 8 I am getting the following error message:

Message: Invalid argument.
Line: 354
Char: 126
Code: 0
URI: www.mediavoodoo.co.uk/media/system/js/mootools-core.js

The domain is www.mediavoodoo.co.uk

Many thanks in advance

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #646 by admin
Replied by admin on topic Re: Script error
Hello,
I think it is because of this code:
if ($('toggle-')) {
    var  = new Fx.Slide('').hide();
    $('toggle-').addEvent('click', function(e) {
        e = new Event(e); 
            .toggle();
...

By using jQuery Easy and the no-conflict code, you are telling Joomla! to use '$' with MooTools instead of jQuery. And I think the code listed above needs to be working with jQuery.

You need to find out where this code is from (which extension adds it) and modify the code so you do not use '$' but 'jQuery' instead.

I think this is what is happening.

Olivier.

Please Log in or Create an account to join the conversation.