Alternating row colors

dazzlindonna dazzlindonna is offline Offline Sep 20th, 2004, 9:07 am |
0
Change Your_Query to match your query name, Your_data to match your field name(s), and change the colors (ffffff and dadada) to match the colors you want.
Quick reply to this message  
ColdFusion Syntax
  1. <tr bgcolor="#iif(Your_Query.CurrentRow MOD(2) eq 1,de('ffffff'),de('dadada'))#"><td>#Your_data#</td></tr>

Message:


Similar Threads
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC