The alternating colors relies on some php code, the alternate color style being defined, and setting the class to the code that alternates it.
You should start with a page that has a working repeating region that is applied to the tr. From here you can add in this code to the top of the page:
<?php
//WA AltClass Iterator
class WA_AltClassIterator {
var $DisplayIndex;
var $DisplayArray;
function WA_AltClassIterator($theDisplayArray = array(1)) {
$this->ClassCounter = 0;
$this->ClassArray = $theDisplayArray;
}
function getClass($incrementClass) {
if (sizeof($this->ClassArray) == 0) return "";
if ($incrementClass) {
if ($this->ClassCounter >= sizeof($this->ClassArray)) $this->ClassCounter = 0;
$this->ClassCounter++;
}
if ($this->ClassCounter > 0)
return $this->ClassArray[$this->ClassCounter-1];
else
return $this->ClassArray[0];
}
}
?><?php
//WA Alternating Class
$WARRT_AltClass1 = new WA_AltClassIterator(explode("|", "WADAResultsRowDark|"));
?>
Next you will need to add in the style into the head section like this:
<style>
.WADAResultsRowDark {
background-color: #DFE4E9;
}
</style>
Finally you need to locate the <tr> that is repeating and apply the following class to it so it looks like this:
<tr class="<?php echo $WARRT_AltClass1->getClass(true); ?>">
You can change the alternating color based on the background color in the style.