Hey Guys!
Long time lurker, first time buyer/poster. Working on getting things set up and I'm hitting a roadblock. I added a menu item to the navigation template and now I am trying to add the class "selected" when on a certain page or route.
Here is the code I got right now:
I've tried looking at the examples for conditionals, but those didn't seem to help me out. Anyone got an idea of what to change this to?
- L33t
Long time lurker, first time buyer/poster. Working on getting things set up and I'm hitting a roadblock. I added a menu item to the navigation template and now I am trying to add the class "selected" when on a certain page or route.
Here is the code I got right now:
Code:
<li class="navTab PopupClosed {xen:link 'pageName', 'selected'}"><a href="https://www.mysite.com/pageName" class="navLink">Page Name</a></li>
I've tried looking at the examples for conditionals, but those didn't seem to help me out. Anyone got an idea of what to change this to?
- L33t