I have a flyout categories menu and i need to disable the parent links:
Product 1 >>> Accessories >>> TZ130
I need to disable the link for Accessories
is there a way to do this in StoreFront or in the xml package?
Regards
PD24
I have a flyout categories menu and i need to disable the parent links:
Product 1 >>> Accessories >>> TZ130
I need to disable the link for Accessories
is there a way to do this in StoreFront or in the xml package?
Regards
PD24
I need to do this for all parent elements with a child.
Obviously if its just a parent element then i need to keep the link.
For those looking for a solution:
I placed the following code to the template.master file:
My menu was called accordion2Code:<script type="text/javascript"> $(document).ready(function () { $("#accordion2 li:has(ul)").hover(function () { $(this).children("a").click(function () { return false; }); }); }); </script>
It waits till the DOM is ready then fires the code.
Hope that helps!