[thelist] alternating row colors w/out using .php
Beau Hartshorne
beau at members.evolt.org
Fri Jun 28 16:59:01 CDT 2002
You can use ASP. You'll need to make use of the modulo operator. The
pseudo code goes something like:
initialize variable count to 0
start looping through the records
if (count modulo 2 equals 0) then
add grey
end if
add 1 to count
end looping through records
Beau
> Is there a way to alternate row background colors in a table when the
> page is in .html or .asp? I've read some recommendations, but they all
> seem to exclusively apply to .php.
>
> For example: I worked on
> http://www.doubleclick.com/us/product/online/mediavisor/features.asp
--
> the rows starting with "Media Plan Wizard" were coded manually, and
I'd
> like to automate it when those rows are modified, added to, deleted,
> etc. Any tips or proven alternatives are welcome!
More information about the thelist
mailing list