Accordion Menu is a GREAT piece of code. Thank you for creating it! I am a very happy customer with this and all of your other products that I use.
I have one question:
I am using "<script> amenu.open("li4b", true); </script>" to open a specific menu from a page whose URL is not in the menu structure. The script causes the correct menu to open; however, it does not show the specific list item in that menu as being selected.
Is it possible to do this? If so, how?
There are two solutions:
1. HTML markup approach: Add a class="current" to the menu item's link: <a href="..." class="active">...</a>
Thank you Milo...it worked like a charm. I definitely appreciate your excellent support in addition to your excellent product.
I have same problem.
I try this :
<li><a href="" class="current">test</a></li>
but it doesn't work ( do nothing ) , any idea please ?
The recent update has changed the current class to active. So you need to set it to class="active" instead.