| | |
|
|
|
repeating regions, alternating bg colours |
| message from chrisallen76 on 16 Jul 2004 |
Hello
Can someone tell me how to alternate the table row background colours for a
reapeating region i have set up.
I want it to alternate between 2 colours like the way the forum pages do
between light and darker grey.
Thanks
chris allen
|
| cmbergin replied to chrisallen76 on 16 Jul 2004 |
isAlternate = false
**BEGIN REPEAT REGION**
<tr><td class="<%If isAlternate Then "alternateClass" Else "normalClass" End
If%>"></td></tr>
isAlternate = NOT isAlternate
Next
**END REPEAT REGION**
But there are extensions which can automate this for you using the old bgcolor
or using CSS. There's probably even a cool CSS method I don't know about yet.
|
|
Archived message: repeating regions, alternating bg colours (Macromedia Dreamweaver Web Design)