Re: [Templates] SELECT CASE question

[prev] [thread] [next] [Date index for 2004/11/30]

From: Dave Cross
Subject: Re: [Templates] SELECT CASE question
Date: 14:47 on 30 Nov 2004
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
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] SELECT CASE question
Robert 13:54 on 30 Nov 2004

Re: [Templates] SELECT CASE question
merlyn (Randal L. Schwartz) 14:34 on 30 Nov 2004

[Templates] Re: SELECT CASE question
Robert 15:00 on 30 Nov 2004

Re: [Templates] SELECT CASE question
Kenneth Ekdahl 16:23 on 30 Nov 2004

[Templates] Re: SELECT CASE question
Robert 16:47 on 30 Nov 2004

Re: [Templates] SELECT CASE question
Cees Hek 14:43 on 30 Nov 2004

Re: [Templates] SELECT CASE question
Dave Cross 14:47 on 30 Nov 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52