In the below case, I would want the About link to be highlighted, since that's the closest match to the current page. Is there a good way to do that?
Joe On Thu, Oct 16, 2008 at 12:39 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote: > Yes. Use <r:here> if you want exact matches. However, often I just break > out the navigation special cases (Home is a typical one). > > Sean > > Joe Van Dyk wrote: >> >> <ul class="sidemenu"> >> <r:navigation urls="Home: / | About: /about" > >> <r:normal><li><a href="<r:url/>"><r:title /></a></li></r:normal> >> <r:selected><li class='selected'><a href="<r:url />"><r:title >> /></a></li></r:selected> >> </r:navigation> >> </ul> >> >> Say I'm on the page /about/page. Won't both the Home and the About >> links have the 'selected' class specified? Since /about/page is a >> child of both those pages? >> >> Joe >> _______________________________________________ >> Radiant mailing list >> Post: [email protected] >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> >> > > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
