Try this...

<cfset colorList="##FF0000,##00FF00,##0000FF">
....
 <tr bgcolor=#ListGetAt(colorList,(DirList.CurrentRow  mod 3)+1)#>

Keith Meade
kmweb.com

----- Original Message -----
From: "Jay Patton" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 6:04 PM
Subject: any ideas?


: does anyone know how i can make this tag output 3 colors instead of 2?
:
: <tr bgcolor="#IIf(DirList.CurrentRow  Mod 2, DE('FFFFE7'),
DE('FAFAFA'))#">
:
: thanks,
:
: Jay Patton
: Web Pro USA
: 406.549.3337 ext. 203
: 1.888.5WEBPRO
: www.webpro-usa.com
:
:
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to