[jQuery] How to apply a Zebra Table Effect considering 3 rows instead 1
Hi guys,
I´m looking for a solution to apply a Zebra Table Effect considering 3
rows a time instead 1. For example:
It´s my table.
row 1
row 2
row 3
row 4
row 5
row 6
row 7
row 8
row 9
Each 3 rows is related to a subject. So in each 3 rows I want applay a
diffrent colour. To get something like it:
row 1 - apply class to change bg
row 2 - apply class to change bg
row 3 - apply class to change bg
row 4
row 5
row 6
row 7 - apply class to change bg
row 8 - apply class to change bg
row 9 - apply class to change bg
Some suggestions?
Regardsds