Can someeone help me with the code . I need the drop down menu to close by itself when mouse away . ???
thank you in advance .
$(document).ready(function(){
$("#zone-bar li em").mouseover(function() {
var hidden = $(this).parents("li").children("ul").is(":hidden");
$("#zone-bar>ul>li>ul").hide()
$("#zone-bar>ul>li>a").removeClass();
if (hidden) {
$(this)
.parents("li").children("ul").toggle()
.parents("li").children("a").addClass("zoneCur");
}
});
});