To mandate which instance is recognized as selected, you can try:
nth-of-type
or nth-child
.Here are some suggestions to manage which link is shown as selected in AccordionMenu
:
Use Unique IDs: Ensure each link has a unique ID, even if they belong to different categories. This helps to differentiate them.
Change the selected
Property: Check if you can set the selected
property for the link you want to display as the selected link.
Use a Callback: If the library supports it, consider using a callback function to determine which link should be considered "selected."
Customize CSS: If you can't change the logic of AccordionMenu
, you might use CSS to highlight the link you want.
Other information here: http://www.menucool.com/vertical/accordion-menu#view3 time calculator
If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;
If your question is related to the Accordion Menu, click:
Ask new question: Accordion MenuOtherwise navigate to one of the following forum categories, and post your question there.
##