Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
<style type="text/css"> <TMPL_IF NAME="__odd__"> .row_color { background-color: green }; </TMPL_IF> <TMPL_IF NAME="__even__"> .row_color { background-color: yellow }; </TMPL_IF> </style>
... <TMPL_LOOP NAME=DATA> <tr> <td class="row_color"> Row <TMPL_VAR NAME=__counter__></td> </tr> </TMPL_LOOP> ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: HTML::Template __even__
by taint (Chaplain) on Jun 04, 2014 at 16:24 UTC | |
by Mr. Muskrat (Canon) on Jun 04, 2014 at 19:15 UTC | |
by taint (Chaplain) on Jun 04, 2014 at 19:51 UTC | |
Re: HTML::Template __even__
by InfiniteSilence (Curate) on Jun 04, 2014 at 16:12 UTC | |
Re: HTML::Template __even__
by RonW (Parson) on Jun 04, 2014 at 16:15 UTC | |
by Anonymous Monk on Jun 04, 2014 at 17:29 UTC | |
by tangent (Parson) on Jun 04, 2014 at 18:22 UTC | |
by muba (Priest) on Jun 04, 2014 at 18:00 UTC |