Actually he doesn't.

Look closer.

I'll help

<tr bgcolor="#<cfoutput>#IIf(CurrentRow Mod 2, DE('ffffff'), DE('99ccff'))
#</cfoutput>">

Would result in either

<tr bgcolor="#ffffff">
Or
<tr bgcolor="#99ccff">

Your's would do the same but without the leading #.

--K

====================
Katrina Chapman
Consultant
Ameriquest Mortgage


                                                                                       
                                         
                    "Larry C.                                                          
                                         
                    Lyons"               To:     [EMAIL PROTECTED]             
                                         
                    <llyons@ebsto        cc:                                           
                                         
                    r.com>               Subject:     Re: I've got the alternating 
table row color blues                        
                                                                                       
                                         
                    05/24/00                                                           
                                         
                    08:24 AM                                                           
                                         
                    Please                                                             
                                         
                    respond to                                                         
                                         
                    cf-talk                                                            
                                         
                                                                                       
                                         
                                                                                       
                                         



Vance,

have a look at your output statements,
<tr bgcolor="#<cfoutput>#IIf(CurrentRow Mod 2, DE('ffffff'), DE('99ccff'))
#</cfoutput>">

You've got the open cfoutput tag in the wrong place it should be:
 <TR bgcolor="<cfoutput>#IIf(CurrentRow Mod 2, DE('ffffff'), DE('C0C0C0'))
#</cfoutput>">

HTH,
larry
--
Larry C. Lyons
EBStor.com
8870 Rixlew Lane, Suite 201
Manassas, Virginia 20109-3795
tel: (703) 393-7930 x253
fax: (703) 393-2659
http://www.ebstor.com
http://www.pacel.com
email: [EMAIL PROTECTED]
Chaos, panic, and disorder - my work here is done.
--

Vance Duke wrote:

> Agreed.  Here is what the code should look like.
>
> <tr bgcolor="#<cfoutput>#IIf(CurrentRow Mod 2, DE('ffffff'),
> DE('99ccff'))#</cfoutput>">
>
> I have been doing this successfully for a while now.
>
> Another way of doing it, is set a Counter and then loop.  Based on the
count
> you can set any color.  I have done it with up to 4 colored rows, but
4000
> colors would be no different (except a very long template).
>
> Vance Duke
> Applications Developer

------------------------------------------------------------------------------

Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.




------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to