Hello,
I have been trying to use <% if Odd %> to alternate background colours of a list. This works for the first and second entries. However, the third and greater entries have the same background colour as the second entry.
<% if Odd %>
<tr class="bg_colour1">
<% else %>
<tr class="bg_colour2">
<% end_if %>
However, <% if Even %> works fine and provides an alternative method to achieve the same result.
<% if Even %>
<tr class="bg_colour2">
<% else %>
<tr class="bg_colour1">
<% end_if %>
Anyone experienced the same issue?
Cheers,
Gary