alternate row color
Posted on 2006-11-28
i found a solution on EE that uses this function:
// get table rows
// set first row color
// loop through remaining rows
// if modulus=0, set color1, else modulus=1, set color2
and it is placed right after the </html> closing tag. the problem is that it only works on Firefox not on IE.
I was wondering if someone could help me tweak the function so it works on both browsers, or if
another function could be shared taht does the same.
i don't want to use CSS because i have several rows and they keep increasing.
for your help thank you in advance.