Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80876

How can I apply an "active" state to a 2nd level menu bar

$
0
0

Can anyone give me specific instructions/example of how to add an "active" class to a menubar.

I'm working on a reusable snippet for 2nd level menubar (not the top level navigation). I thought the menu bars might apply an active class by default, but this does not seem to be the case.

I'd like it to be reusable, so that if the page title matches the menu item, it will automatically apply the active class. Is this possible? What is the best way to accomplish this?


Viewing all articles
Browse latest Browse all 80876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>