alternate row colors

Discussion in 'Customization & add-ons' started by jasondavis, Jan 14, 2005.

  1. jasondavis

    jasondavis New Member

    Joined:
    Aug 1, 2003
    Messages:
    85
    Can you show me how to alternate row colors on member.php
    Subscription History rows
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    You can do it like this:
    replace <tr>
    to <tr style="background-color: {cycle values="red,cyan"}">

    Smarty will replace {cycle values="red,cyan"} with different colors for different rows.
  3. jasondavis

    jasondavis New Member

    Joined:
    Aug 1, 2003
    Messages:
    85
    ahh thank you that is a very helpful peice of code

Share This Page