[TYPO3-english] odd / even classes for every second record
bw at shs-it.de
Mon Jan 11 16:29:50 CET 2010
I'm using "insert records" to put often used boxes into the right column
of my site. To display them on the page I use the following code:
temp.boxenelemente = CONTENT
table = tt_content
where = colPos = 2
orderBy = sorting
Now every second box should have a different header-color, so I would
like to wrap the first box-element in a div with the class 'odd' and the
second in a div with the class 'even' - or something like that.
I have no clue how I could achieve this - any help is very welcome.
Thank you very much!
More information about the TYPO3-english