Hello,
i have a page using submenus
when i move over "testlink 0 " a submenu is opened. When i leave the submenu it shold closed
i now have a hacked solution:) See Code below. But now its opens only on click and close on click on submenu. And the other problem ist, i must programm for every submenu this code. Can someone help me to find a better solution?
thank you
- $("#menu ul li ul a").click(function () {
- $(".submenu1").css("display","none");
- });
-
- $(".subclick1").click(function () {
- $(".submenu1").css("display","block");
- });