> In the past I have used this statement to vary the color of a table row to
> simulate the 'green bar effect'.
>
> <tr bgcolor="#iif(qName.CurrentRow MOD 2, DE('ffffff'), DE('e8e8e8'))#">
>
> Is there a way to modify this so that in the output of a query a <br> would
> be output every second row and a otherwise?
>
This ought to work:
<cfscript>writeOutput(iif(qName.CurrentRow MOD 2, de(" "),
de("<br>")));</cfscript>
-Bruce
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists