Oh, one more thing I forgot, change the .menu-on declaration to ".menu-
on a"
I'm using mouseenter and mouseleave because when I was trying to
toggle the menus with hover it wasn't working well. On the suggestion
of someone else on this forum I used the bind function to call the
code on the item and it's children.
Now, I just need the top level item to keep it's hover stat
Wow, that code doesn't make much sense
you have the selector "li.main-nav", which i am assuming grabs all 5
of those top level links
as you hover on each one of them, you reselect all those and add the
class "menu-on" to them, that wouldn't make sense since you would
seemingly only want to apply
3 matches
Mail list logo