View Full Version : alt1,alt2 ... alt1,alt2
TTayfun
11-27-2011, 12:22 AM
hi guys,
i want to make table background color alt1,alt2 ....alt1,alt2 like: https://vborg.vbsupport.ru/info.php?do=staff
how do i?
Lynne
11-27-2011, 04:24 PM
Add:
class="alt1"
or
class="alt2"
to the item you want to have that class.
TTayfun
11-27-2011, 07:43 PM
but i want use $bgclass this is automatic set alt1,alt2....
Lynne
11-27-2011, 08:43 PM
Huh? I don't understand. You may use several classes in one statement.
class="alt1 class2 class3"
TTayfun
11-27-2011, 09:49 PM
no no. Look: https://vborg.vbsupport.ru/showgroups.php
dawidw: alt1
Lynne: alt2
Paul M: alt1 .......
$bgclass setting this automatic. and i want use this option other php files of vbulletin.
Lynne
11-28-2011, 04:43 AM
So you create a variable to count the lines and based on that you do alt1 or alt2?
TTayfun
11-28-2011, 06:51 AM
hmm memberlist.php use $totalcols for variable. i can use them. and what must i do than?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.