cfloop Example
Use cfloop to change a class on every odd row.
<cfloop from=”1″ to=”something” index=”idx”>
<li <cfif idx mod 2>class=”odd”</cfif>>


Use cfloop to change a class on every odd row.
<cfloop from=”1″ to=”something” index=”idx”>
<li <cfif idx mod 2>class=”odd”</cfif>>
You can do the same thing with a query:
<cfloop query=”myQuery”>
<li <cfif myQuery.CurrentRow mod 2>class=”odd”</cfif>>
…
</cfloop>