For some reason, our "Home" link always has the active class assigned to it - Even when we are on different pages......But this is only happening on ONE of our menus on the page.
Take a look at
http://techdaddies.com/networking/
In the top menu, you'll see that both "Home" and "Networking" have been given the active class. But in the bottom menu, only the "Networking" link has been given the active class.
Now if you go to
http://techdaddies.com/networking/cable-solutions/ you'll notice the same exact thing. But if you go to
http://techdaddies.com/networking/3/test.html which is a SUBLINK of /networking/cable-solutions, the home link does not have the 'current' class.
I'm so confused right now. Is this a problem in our wayfinder call, or...?
Here is how we're calling wayfinder in the top:
[Wayfinder? &rowTpl=`MenuListItem` &startId=`0` &outerClass=`menu` &hereClass=`current`]]
And rowTpl...
<li[[+wf.id]]><a href="[[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]][[+wf.classes]]>[[+wf.linktext]]</a>[[+wf.wrapper]]</li>
Does anyone have any advice for us?
[ed. note: kcackler last edited this post 14 years, 5 months ago.]