The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Please help: making alternating row background color in threadbit?
Hi
I am trying to set alternating row background color in threadbit. After searing around, I found this: http://www.vbulletin.com/forum/showt...=1#post1490421 I altered the code (see below) and tried it to find I am getting only "alt1" from {vb:raw $altclass} . Maybe there's something else I need to do? Please help and thank you in advance WC Code:
<vb:if condition="!isset($altrow)"> <vb:if condition="$altrow = 0"></vb:if> </vb:if> <vb:if condition="++$altrow % 2 == 0"> <vb:if condition="$altclass = 'alt2'"></vb:if> <vb:else /> <vb:if condition="$altclass = 'alt1'"></vb:if> </vb:if> ...{vb:raw $altclass} |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|