Tag Archives: menu

WordPress disable parent menu using jquery

<script language=javascript> jQuery(“#menu-firstmenu li:has(ul.sub-menu)”).hover(function () { jQuery(this).children(“a”).click(function () { return false; }); }); </script> 

Posted in jquery, WordPress | Tagged , , | 7 Comments