PDA

View Full Version : How to alternate colors in postbit_legacy?


CycoreFredde
08-03-2008, 07:18 AM
Hi!

I already have this style in my current forum, and I want the same look when upgrading to 3.7, I got some help to do this the last time, but now i dont know ho to do it again =)

I want the first post in postbit_legacy to use alt1, and the second post to use alt2, the third alt1 and so on...
Here's a link to how it should look: http://www.zatzy.com/street-racing-general-automotive/330869-favourite-groupe-b-rally-car.html

We used some programming to find out wether the post number is odd or even, but i don't know how to do this again (I didn't do it myself the first time).
Please give me some help

Best regards

Fredrik

--------------- Added 1217794167 at 1217794167 ---------------

nobody?

CycoreFredde
08-21-2008, 05:28 AM
Does anybody know how to do this?

Lynne
08-21-2008, 01:58 PM
I found a mod for alternating the colors in other areas, I'm sure you can easily modify it for the postbits - Alternating Row Color for Forums / Search Results / Thread Listings (https://vborg.vbsupport.ru/showthread.php?t=125654&highlight=alt%2A)