On Tue, Nov 30, 2004 at 09:43:36AM -0500, Cees Hek wrote:

> Also, if you don't mind renaming your styles, you can simplify it to
> just use id="trcol[% loop.count % 2 %]", where your styles would then
> be trcol0 and trcol1.

Or, to avoid renaming the styles:

  id="trcol[% loop.count % 2 + 1 %]"

Dave...

-- 
  If you miss an opportunity to see him perform... you're a total asshole.
  David Cross rocks my world.
    -- Jack Black

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to