If i have the following markup:
<ul id="level1">
<li>
<a href="#">Test</a>
<ul id="level2">
<li>
<a href="#">Test</a>
</li>
</ul>
</li>
</ul>
Basically if i hover over level 1, i need it to do something. However when i hover over level2 it is triggering it because that is inside level1. Is there a way of making this only happen if i hover over level1.
An example of what i mean:
The box on the left, is a parent of the box on the right. But i need the something to happen when hovering over the left box (parent), but not the right box (child).
Thank you.
Sorry if i have failed to explain my issue well enough.