[TYPO3-templavoila] FCE consisting of table with alternating layout

Uros Kositer uroshsi at gmail.com
Thu Jan 25 12:49:57 CET 2007


Hi!

I would like to implement FCE which incorporates table with alternating 
layouts like this:

<div class="para">
	<div class="miniTitle">Table header</div>
	Table: Table description
	<table width="532" border="0" cellspacing="0" cellpadding="0" 
class="dat-table">
	<tr class="dat-headColumns">
		<td width="150">&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="dat-head1">Header of left column</td>
		<td class="dat-head1" colspan="3">Common header for all other columns</td>
	</tr>
	<tr>
		<td class="dat-head2">&nbsp;</td>
		<td class="dat-head2">Header column 1</td>
		<td class="dat-head2">Header column 2</td>
		<td class="dat-head2">Header column 3</td>
	</tr>
	<tr>
		<td class="dat-grey1">66 y</td>
		<td class="dat-color1">1.021</td>
		<td class="dat-color1">2.042</td>
		<td class="dat-color1">3.063</td>
	</tr>
	<tr>
		<td class="dat-grey2">67 y</td>
		<td class="dat-color2">961</td>
		<td class="dat-color2">1.921</td>
		<td class="dat-color2">2.882</td>
	</tr>
	<tr>
		<td class="dat-grey1">68 y</td>
		<td class="dat-color1">903</td>
		<td class="dat-color1">1.806</td>
		<td class="dat-color1">2.709</td>
	</tr>
	<tr>
		<td class="dat-grey2">69 y</td>
		<td class="dat-color2">848</td>
		<td class="dat-color2">1.695</td>
		<td class="dat-color2">2.543</td>
	</tr>
...
...
...
	</table>
	<span class="potenca">1</span> Footer text
</div>

I know how to map repeatin rows, but is there a way to tell TV to parse 
odd and even table rows differently?

Kind regards and thank you for help
Urosh


More information about the TYPO3-project-templavoila mailing list