PDA

View Full Version : Alternating row colors at polls


MrNase
10-29-2005, 10:00 PM
Here's a quick one because:
I ran into problems while having a big poll with 50 options because the rows did all have the same color and I sometimes mixed the results up because I looked at the wrong row :D

So, this plugin will display the rows of the poll's option with an alternating background color just like this one did for the threadlist -> https://vborg.vbsupport.ru/showthread.php?t=99363


This plugin is a product and it contains 2 plugins. Additionally there's one template you need to edit.

Open the template 'pollresult' and replace every instance of 'alt1' and 'alt2' with:

$option[classname]

and import the attached file.

Here's a demo: http://www.pagodentreff.de/diskussionsforum/t1818-abstimmung-pagodenkalender.html

You are done, don't forget to click 'install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=99633)' :)

Lea Verou
10-29-2005, 11:25 PM
my advice: Such modifications NEED a screenshot. It's about looks for christ's sake! :P

MrNase
10-30-2005, 07:31 AM
Ok, screenshot added.. I think it's not needed though :P

nexialys
10-30-2005, 10:31 AM
wow,... i'm inspiring MrNase now.. lol

MrNase
10-30-2005, 10:44 AM
I would call it a 'logical addition' to your plugin ;)

Snake
10-30-2005, 10:48 AM
Wow thanks.