Looks like you're still using MooTools 1.1 code.

Why don't you have a look at http://mootools.net/forge/p/moodropmenu which
should work in 1.3 (and probably in 1.2 as well)

On Mon, Apr 11, 2011 at 7:47 PM, thesaltydog <[email protected]> wrote:

> Oskar,
>
> I posted it here: http://jsfiddle.net/TtAaa/
>
> It works on Firefox, as far as I can see (Firebug claims no errors).
>
>
> On 11 Apr, 19:27, Oskar Krawczyk <[email protected]> wrote:
> > Please post an example on JsFiddle.
> >
> > From what I see, your code shouldn't be working on any browser.
> >
> > On Apr 11, 2011, at 7:21 PM, thesaltydog wrote:
> >
> > > Hi,
> >
> > > my mootools 1.2 dropdown menu is performing without errors on Firefox.
> > > Today I have tested it on IE9 and it is not working.
> > > Is there any special trick for this browser?
> >
> > > it is claiming for a function error on this line:
> >
> > >                   if (!el.hasSub) {
> > >                        el.addEvent('mouseenter', function() {
> > > ---------------->         el.setActive();
> > >                            return false;
> > >                        });
> >
> > > where setActive is defined this way:
> >
> > >        setActive: function() {
> > >            this.className+='sfhover';
> > >        },
> >
> > > Thanks for any suggestion.
>

Reply via email to