I'm trying to make each row (threadbit) to alternate background colors, from alt1 to alt2 like on the regular forum display pages.
My current threadbit contains something like this.
Code:
<if condition="exec_switch_bg()"></if>
<tr>
<td class="$bgclass">Thread title goes here...</td>
<td class="$bgclass">Another col of text...</td>
</tr>
It alternates on some pages just not on the search_results page.
Is there a way to have threadbit alternate on both?
Any help would be appreciated. Thanks