I'm trying to modify this piece of code to stop firing when I constantly mouseon and mouseout...
- $('#header #top-navigation ul li, #header #top-navigation ul li').hover(function(){
$(this).find('ul.children, ul.sub-menu').fadeIn();
},
function(){
$(this).find('ul.children, ul.sub-menu').fadeOut();
});
I know I need to use stop(), but I dont know where to stick it