I’ve got my Radiant shell up and running and I’m trying to figure things
out. One thing I’ve run across is building a menu and highlighting the
current page. Here’s what I have right now. It works but it’s really
really messy. I guess I could put it into a snippet or something but it
still seems like the hard way to do it. I looked at the <r:navigation>
stuff but I think that just works with children pages, correct?
<r:if_url matches="^/products"><li id="current"><a
… etc …
Basically, I’m trying to single out the current page so that I can apply
CSS id to it. That id causes the menu item to be bold and give you the
feeling that your really on the page.
I know it’s probably something really stupid, but instead of messing
for 3 days I thought I would ask you guys for some help.
BTW: The page I’m working on is at http://mail.kangaroobox.com:3000/.
abuse me too much.