Alternating Row Colors

Inserts a script that makes every odd table row one color and every even table row another color for one or more tables.

| Author: | ShrineDesigns |
|---|---|
| Version: | 2.0.0 |
| Type: | Behavior |
|---|---|
| Product: | Dreamweaver 4, Dreamweaver 4.01, Dreamweaver MX, Dreamweaver MX 2004 |
| Platform: | Win XP/2000/2003/2008/7, Mac OS 8.6 or higher |
| Browser: | Explorer 5, Explorer 5.5, Explorer 6, Netscape 6, Opera 5, Opera 6 |
| « Overview |
User Reviews
Total of 11 reviewsA way to get this to work (pls disregard previous post)
Written by Silvia Alioto on June 19, 2007A way to get this to work (pls disregard previous post) Silvia Alioto (19 June 2007, 19:42) I got this to work manually coding the page as follows: 1. Give your table an ID in the properties window (e.g., mytable). 2. Edit the body tag: <body ...
A way to get this to work (pls disregard previous post)
Written by Silvia Alioto on June 19, 2007I got this to work manually coding the page as follows: 1. Give your table an ID in the properties window (e.g., mytable). 2. Edit the body tag: <body onload='altRowColors('mytable','#FFFFCC','#e3e7e9')'> 3. Edit the table tag: <table ...
Easy way to get this to work
Written by Silvia Alioto on June 19, 2007I found the easiest way to automatically alternate the row colors was: 1. Give the table an ID in the Properties window (e.g., mytable) 2. Place this code on the body tag: <body id='mytable' ...
Sweet
Written by marcel e on January 3, 2007after applying the behaviour, the UI will place an onFocus-event in the table tag, move this to the tag, and replace it with onLoad event.
Doesn't work
Written by Faruk Ozturkmen on October 24, 2006I have tried all sorts of combinations and can not get it to work. There is no instructions either.
RE: Wonderful behavior.
Written by lynn wenger on August 9, 2006I love how easy this was to use! The site is maintained by the owners and they weren't able to apply colors or styles without becoming overwhelmed. This was the perfect solution. http://www.chatwithwomen.com/pages/upcoming.php
RE: jljlhjkl
Written by James Wilkinson on May 13, 2005You have to apply it to the body tag but first give the table you want to apply it to an ID or index.








