Alternate Row Colors

Downloaded 10323 times

Alternate Row Colors

version 3

The Alternate Row Colors extension is designed to work with Macromedia Dreamweaver MX 2004. It enables the user to define alternate colors for a dynamically generated table. There is an additional version, which allows the user to define a third color, for JavaScript mouseover effects.

 

Plain dynamic tables look a bit boring. Also, they can be difficult to read for some of us. Setting suitable alternative colors can enhance the appearance.

The following instructions show the PHP versions of the extension, the extension will work in identical ways for PHP_MySQL, PHP_ADODB, ASP3 (VBScript), ASP3 (JavaScript) and ColdFusion server models. Versions for ASP.NET will not be developed, because the ASP.NET datagrid object can do the same job.

Please note that a very fine Flash tutorial for this extension has been written by DMXTutorials.com.

User Rating (26 votes)
27 reviews available | Read the reviews » | Support forum »
Size: 161 KB Live Support Support Forum
Author:Paul Taylor
Version:3.0.1

UI Access

The first step is to select the tr tag. This is very important.

  • Click inside the repeated row.
  • Use the tag bar, under the page window, to select the tr tag.

The extension is accessed from the Server Behavior control panel.

  • Click on the + button
  • Take your mouse to the Technocurve submenu
  • Select the basic extension

The two colors can be selected either by typing the hexadecimal color number into the text box, or using the Dreamweaver color selector. It is very important to select the correct tr tag. The tr tags are numbered in the code, from the top of the html code downwards. The first tr tag is tr[0]. The page in this example has only one dynamic table, with the first tr row being for the heading. In this example, tr[1] needs to be selected.

 Requirements »
Type:n/a
Product:Dreamweaver MX 2004
Server Model:ASP JavaScript, ASP VBScript, ColdFusion (DWMX), PHP MySQL, PHP PHAkt 2, ASP JScript
Database:Access, SQL Server, MySQL


« Overview 

Paul Taylor

Paul TaylorBorn in 1961, I am a middle-aged amateur web developer. I did this professionally for 5 years. Before that I spent 17 years as a schoolteacher. I now work as a writer for the international Christian ministry, Answers in Genesis.

See All Postings From Paul Taylor >>

User Reviews

Total of 27 reviews
Works Great In CS3
Written by Mark Smith on November 12, 2009

Thanks Paul - Great Job. I appreciate this extension. Help me in a pinch. You need to start teaching and passing on your skills.

Can't see the Technocurve submenu
Written by Tom Meijer on July 1, 2009

Hi I'm working with Dreamweaver CS3 on a MAC and when I'm trying to add a behaver the Technocurve submenuis not there. I can see the extention in the Extention Manager. ThanksOren

Thanks!
Written by Scott B on February 8, 2008

Hey, thanks alot Paul. This is truly a great tool. Really saved me alot of time, I love the fact that it works with dynamic tables as well.

DW 8?
Written by Paul Taylor on November 4, 2005

Has anyone tried installing this extension into DW 8? I am no longer an IT developer, and haven't got round to purchasing DW8.

awesome
Written by Aron Kansal on March 28, 2005

this extension rocks!!! thanks dude!

RE: RE: RE: Good Extensions - Encountered Problem and Fixed
Written by Paul Taylor on September 25, 2004

I'm glad you're work-around works. I'm not sure why you got an erroneous message. The style system I used is supposed to be cross-browser compatible. At least it is valid standards-compliant code! As you may be aware, bgcolor is a non-valid ...

RE: RE: Good Extensions - Encountered Problem and Fixed
Written by Michael Vaughan on September 24, 2004

Remove quotes from above - the posting system added them.

RE: Good Extensions - Encountered Problem and Fixed
Written by Michael Vaughan on September 24, 2004

Code correction:<tr bgcolor='ffffcc'>

Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency