3
You can easily do this in a couple of steps.
First you need to set a style, either directly in the page, or within the style sheet file for the theme you are using (aptly named style.css)
Create two classes (for example):
.blue
.white
The period is necessary because it defines this style as a class which you can later add to your row's tag.
For each class define their respective styles, in this case you would have something similar to:
.blue {background-color: #0000FF;}
.white {background-color: #FFFFFF;}
Now that you have this defined you can move on to the having XOOPS handle the cycling of the different classes on your row.
In a template or on the theme file, etc., you will need change the variables for your table row and should end up with something like:
<tr class="<{cycle values="blue,white"}>">
Traditionally you you have had to do this row by row (i.e. class="blue" then on the next row, class="white", etc.), or used javascript to handle this, however XOOPS takes care of this nicely via the "cycle values."
Note: don't forget both brackets AND both braces.
Chris