[Radiant] active link

Vladimir Beran vberan at centrum.cz
Wed Apr 9 04:39:35 CDT 2008


Hi, I need to use for active link another style as is mentioned below
but it doesnt works. What is bad in my code?

<ul>
  <r:find url="/">
    <r:children:each by="id" order="asc">
      <r:if_url matches="<r:url />">
        <li id="current"><a href="<r:url />"><span><r:title
/></span></a></li>
      </r:if_url>
      <r:unless_url matches="<r:url />">
        <li><a href="<r:url />"><span><r:title /></span></a></li>
      </r:unless_url>
    </r:children:each>
  </r:find>
</ul>

Thank you.
-- 
Posted via http://www.ruby-forum.com/.


More information about the Radiant mailing list