• I made a short code that insert a class in an element, I used a simple html, to make a tab hover. But, I saw that max mega menu duplicates this code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter victeo

    (@victeo)

    The code that I can insert is this:
    https://codepen.io/victeo/pen/dyJPeXv

    Plugin Author megamenu

    (@megamenu)

    Hi victeo,

    Does your code work when it is placed outside of the mega menu? If it does, then make sure you also have “unbind javascript events” disabled under Mega Menu > Menu Locations (advanced tab)

    Regards,
    Tom

    Thread Starter victeo

    (@victeo)

    Unfortely didn’t work. My code works perfectly. I see that code is duplicated when rendered and only one receive the new class.

    Plugin Author megamenu

    (@megamenu)

    Hi victeo,

    Please post a link to your site so I can take a look. I’d need to see an example of the code working outside of the menu also.

    Regards,
    Tom

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Javascript doesn’t work in mega menu’ is closed to new replies.