ftroute
02-06-2004, 10:01 AM
Snapshot of the problem:
The page consists of two tables. The first is two columns, first containing a 350 pixel wide image.
The second contains the description of that image.
The second table consists of five columns thumbnail images with a caption below.
Onmouseover on a thumbnail causes the large iamge and its related description to change.
Information about the images (filenames, captions, descriptions) is returned from a database query
and loaded into an array. I am using Coldfusion.
The code works fine as a static page. However, making it a dynamic page is the requirement.
The problem is getting the 'MLS Number' from the query results to Javascript code that does the image swapping.
Javascript is not one of my strongpoints.
An extract of the script is attached.
The page consists of two tables. The first is two columns, first containing a 350 pixel wide image.
The second contains the description of that image.
The second table consists of five columns thumbnail images with a caption below.
Onmouseover on a thumbnail causes the large iamge and its related description to change.
Information about the images (filenames, captions, descriptions) is returned from a database query
and loaded into an array. I am using Coldfusion.
The code works fine as a static page. However, making it a dynamic page is the requirement.
The problem is getting the 'MLS Number' from the query results to Javascript code that does the image swapping.
Javascript is not one of my strongpoints.
An extract of the script is attached.