Alternate color :

    <CFSET BGCOLOR = "">
    <CFLOOP>
    <tr><td BGCOLOR="#BGCOLOR#">Text</td></tr>
    <CFIF BGCOLOR IS ""><CFSET BGCOLOR="##cccccc"><CFELSE><CFSET
BGCOLOR=""></CFIF>
    </CFLOOP>

----- Original Message ----- 
From: "Robert Orlini" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, September 03, 2003 3:56 PM
Subject: code snippets


> I know this has probably been asked numerous times, but I wonder if anyone
has the CF code that alternates color on rows in a table?
>
> Also, does anyone have the CF(?) code that checks/verifies whether a
credit card number is entered correctly?
>
> Thanks as usual.
>
> Robert O.
> HWW
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to