[Radiant] Zebra striping using <r:children:each>?
Nathan Donaldson
scarydog at mac.com
Tue Oct 17 21:46:32 CDT 2006
John W. Long wrote:
> Perhaps it would be better to have two tags:
>
> <r:even>...</r:even>
> <r:odd>...</r:odd>
>
> which only render their contents when the index is even or odd? We
> should probably also add an <r:index /> tag that returns the number.
>
> --
> John
Hi John,
I have added your suggestions and add it to the wiki page. You may have
some ideas about how to better overload children:each
Regards
Nathan
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list