RChilton Posted March 6, 2014 Share Posted March 6, 2014 I am editing some existing code. Trying to add a 3rd layer to the left sidebar product category navigation basically a subsubmenu item. The code was already written, however something is wrong in the functionality. Couple of issues. Category items with sub menus function correctly (such as the essentials category). Categories with two sub menus (boutique) functioning but here are the issues. 1. Subcategory has to have product in it for sub sub categories to show up. Where as in the other categories this is not the case. 2. Sub Sub Categories automatically expand all the way out when you hit the main category. It should function that the sub sub categories do not expand until the subcategory is clicked. I've worked it several different ways but can not come up with the correct combination to make it function properly. Attached the php page with link to the site on top. Thanks for the help... products_nav2.php Quote Link to comment Share on other sites More sharing options...
gizmola Posted March 6, 2014 Share Posted March 6, 2014 Menus that expand and contract are driven by css and javascript. In the old days people often called this DHTML. If you can isolate the data in the queries, and that data is bringing back the menus as expected, then you should be able to slot in any menu system, and there are an untold number available. Find one that is documented and easy to understand and replace that gobbledygook code with something clean and maintainable. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.