Sunset at Oak Island, North Carolina

Spider Web Woman Designs

Adding VBScript to ASP page to alternate row colors in FrontPage Database Results Wizard query results


VBScript can be added to a page created by the Database Results Wizard to alternate the row colors when displaying data.


In HTML View add the five lines below the <body> tag.

Change the bgcolor values to suite your needs.

Locate the Database Results Wizard tag that looks similar to the following.

<!--webbot bot="DatabaseRegionStart" i-checksum="57040" endspan -->

Just below the Database Results Wizard tag is the first line of the table that start with a <tr> tag.

Add the following just below Database Results Wizard tag and before the <tr> tag.

Edit the <tr> so it looks like the following.

Save the page and test it in the browser.

Copyright © 2000, 2001, 2002
SiteCrafters Internet Services, All Rights Reserved


Email UsWe're on Google+LinkedIn ProfileFollow us on TwitterLike Us on Facebook!