On Sat, 2004-06-05 at 11:21, James Kaufman wrote:
> $bgcolor = ($i % 16 > 8) ? #ff : #ff;
> print " bgcolor='$bgcolor'>$item_1$item_2$item_4 ter>$item_5\n";
You probably want to do:
$bgcolor = (($i % 16) > 7) ? #ff : #ff;
Since $i % 16 will rotate from 0 - 15. This will work assu
On Sat, Jun 05, 2004 at 04:54:33PM +0200, Marek Kilimajer wrote:
> BigMark wrote:
> > this piece of script makes alternate row colours, but i want the rows to
> > be
> >coloured in blocks of 8. So the first 8 rows are white then the next are
> >mauve etc etc.
> >
> >Alternatively i could make the
BigMark wrote:
this piece of script makes alternate row colours, but i want the rows to be
coloured in blocks of 8. So the first 8 rows are white then the next are
mauve etc etc.
Alternatively i could make the rows all the same colour , but i need a blank
row after each 8 rows.? Any ideas
this piece of script makes alternate row colours, but i want the rows to be
coloured in blocks of 8. So the first 8 rows are white then the next are
mauve etc etc.
Alternatively i could make the rows all the same colour , but i need a blank
row after each 8 rows.? Any ideas
4 matches
Mail list logo