0

Got a lil one, need a mega menu to appear after a brief pause on hover else it shows up immediately with every mouse over which is a bit hectic.

Mega menu worked lovely until the hover thing became incredibly annoying!

Tried using hoverIntent but can't figure out the functions required for it to stop 'un-displaying' on mouse out of just the link, rather than the link and the menu if that makes sense?

My probably pants code is thus...

$("li.view_products a").add('.megamenu').hover(
    function(){
        $('.megamenu').removeClass('no_show');
    },
    function(){
        $('.megamenu').addClass('no_show');
    }
) 

I have been scoping through previously asked questions and seen some mentions of SetTimeOut etc? but I can't make head or tail of it.

mipe34
  • 5,596
  • 3
  • 26
  • 38
user1448485
  • 47
  • 1
  • 8

1 Answers1

0

Do you try with a jquery accordion?

Benjamin RD
  • 11,516
  • 14
  • 87
  • 157
  • do you mean a plugin? i haven't tried that no, I always thought that was more for content sections rather than big menu dropdowns? – user1448485 Feb 12 '13 at 07:27