Home    | Software    | Articles    | Tips'n Tricks    | Contacts    | Support Us  
Home arrow Tips'n Tricks arrow Ruby on Rails arrow Cycling colours in HTML tables

Cycling colours in HTML tables

Inside a cycle, put for example:

<tr style="background-color:<%= cycle('#ccc', '#aaa') %>;">
    .......your values
</tr>
 
Next >

  Articles RSS feed

Latest Articles
Latest Software
   
designed by allmambo.com