MyBB Community Forums
Alternating trows? - Printable Version

+- MyBB Community Forums (
+-- Forum: Extensions (
+--- Forum: Plugins (
+---- Forum: Plugin Development (
+---- Thread: Alternating trows? (/thread-123961.html)

Alternating trows? - Odin A. - 2012-08-06

So, my other admin and I are working on a custom plugin together. However, I'm having trouble making the trows alternate. It's going to have new content all the time, so I can't manually create trow1 and trow2 over and over. I'd like some help on this; it could be a site-changing mod.

RE: Alternating trows? - Diogo Parrinha - 2012-08-07

Use alt_trow() to calculate trow1 and trow2

RE: Alternating trows? - Frank.Barry - 2012-08-07

You mean store it in a variable like so ? Then use it in your html source ?

$alttrow = alt_trow();