<cfoutput query="someQ">
<cfif currentrow mod 2 is 0><cfset rowclass="even"><cfelse><cfset
rowclass="odd"></cfif>
<tr class="#rowclass#"><td>data</td></tr>
</cfoutput>
From: "Robert Orlini" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
Subject: code snippets
Date: Wed, 3 Sep 2003 15:56:25 -0400
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