I would do
<tr class="#iif(q.currentrow MOD 2, DE("lightRowCol"), DE("darkRowCol"))#">
A bit neater...
Taco Fleur
0421 851 786
Tell me and I will forget
Show me and I will remember
Teach me and I will learn
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Peter Galipo
> Sent: Wednesday, 12 November 2003 6:10 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] Coding Preference
>
>
> Hi All,
>
> I'm just wondering if this is the way to go or do people out
> there write this code differently?
>
> <tr <cfif q.currentrow MOD
> 2>class="lightRowCol"<cfelse>class="darkRowCol"</cfif>>
>
> Thanks,
>
> Pete
>
> ---
> You are currently subscribed to cfaussie as:
> [EMAIL PROTECTED] To unsubscribe send a blank email to
> [EMAIL PROTECTED]
>
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004