I have <a>c <img>inside, and I want something to happen when you hover over <a>that which works, the problem is that if I move the cursor over the image inside, it starts up again.
Is there a way to make it run only when <a>, and not as a child (which is smaller than the parent).
my js:
$('#logo a').mouseover(function() {
$(this).addClass('active');
$('div#header-contact').fadeIn();
});
source
share