Try This.
TR BGColor="###iif(CurrentRow MOD 2, DE("FF"), DE("E1E1FF"))#"
Curt
Curtis C. Layton
Web Applications Developer
Words In Progress, Inc.
(410) 667-4986
[EMAIL PROTECTED]
http://www.wordsinprogress.com
- Original Message -
From: "Bogesdorfer, Dan L." [EMAIL PROTECTED]
To:
Try this for the table row:
TR bgcolor="#IIf(CurrentRow Mod 2, DE('ff'), DE('99ccff'))#"
At 12:07 PM 3/31/00 -0500, you wrote:
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
Do it programmatically. Keep a count of the rows. If the count is evenly
divisible by 2 use color x otherwise use color y.
-Original Message-
From: Bogesdorfer, Dan L. [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 31, 2000 11:08 AM
To: '[EMAIL PROTECTED]'
Subject: Alternating the
table
cfoutput query="MyQuery"
tr bgcolor="#IIF(MyQuery.CurrentRow MOD 2, DE("white"), DE("cyan"))#"
td#MyQuery.whatever#/td
/tr
/cfoutput
/table
HTH
Steve
-Original Message-
From: Bogesdorfer, Dan L. [mailto:[EMAIL PROTECTED]]
Sent: 31 March 2000 18:08
To: '[EMAIL PROTECTED]'
!!
thanks..
Daniel Bogesdorfer
Programmer/Analyst
RSL COM USA INC
Voice 412.244.6628
-Original Message-
From: Ron Anderson [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 31, 2000 12:21 PM
To: [EMAIL PROTECTED]
Subject: RE: Alternating the color of table rows
Here's one way:
CFIF (CurrentRow
If your using custom colors - you might try
cfoutput
cfif CurrentRow MOD 2 IS 0
tr bgcolor="Silver"
cfelse
tr bgcolor="##D7D7D7"
/CFIF
blah...
Now I have a question.
How would I use this style:
TR bgcolor="#IIf(CurrentRow Mod 2, DE('ff'), DE('99ccff'))#"
With a
iif(CurrentRow mod 2,DE("Silver"),DE("White"))
works fine. Is this what you mean by "custom defined color" ?
-Original Message-
From: Stephen M. Aylor [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 31, 2000 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Alter
7 matches
Mail list logo