tags:

views:

33

answers:

1

The following code causes an error in IE:

$("ul.sf-menu").supersubs({
    minWidth: 10,
    maxWidth: 30,
    extraWidth: 1
}).superfish();

The error is saying there is an invalid argument within the jquery.js file itself when the above code is run. What is the problem?

The problem doesn't happen with this:

$("ul.sf-menu").superfish();

So supersubs is causing a problem. Any ideas why though? IE isn't telling me what the actual issue is just that an invalid argument with something. And I can't use Firebug as there is no actual JS bug it's purely an IE problem with that code.

A: 

Nothing wrong syntactically but the error could be happening inside supersubs() or superfish()

Gaby