Looking for help with my expandable list menu that I created using jQuery. Here is the code snippet:
$("#menu ul li ul").hide();
$("#menu ul li").click(function() {
$(this).find("ul").slideToggle();
});
You can view the fully functional menu on jsFiddle: http://jsfiddle.net/AlexSadler/uRwh7/7/
I am facing an issue where when one category is open and I try to open another, the first one remains open causing space constraints. Any suggestions on how to fix this problem are greatly appreciated!