Hi,
Let me explain the problem first. I am using the following UL structure
<ul onmouseover="smenu_over(this)" onmouseout="smenu_out(this)" class="sub-menu" style="left:0;">
<li><a href="#">Navigation Item with long text do text wrap</a></li>
<li><a href="#">Sub nav item</a></li>
<li><a href="#">Sub nav item</a></li>
<li style="border-bottom:0;"><a href="#">Sub nav item</a></li>
</ul>
JS Function
function smenu_over(obj) {
var a = obj.parentNode.childNodes[0];
if(a!=null) {
var top = $(".topnav_icons").length && !$(".logo_t").length ? "-45px" : "-34px";
setBckPosition(a, top);
a.style.color = "#fff";
}
}
I need to apply the event.stopPropagation inside this function which is called when mouseover event happen.
Please help me the code to apply event.stopPropagation ?
Thanks in advance.