Spider Web Woman Designs

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

SUMMARY

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

MORE INFORMATION

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