I have a dynamic website built in Dreamweaver MX using ASP/VBscript and an Access Database. I have a dynamic page that has 50 text links and when you roll over the text links, the image swaps to the correct image based upon the id number of the record. This works fine except I am missing some photos so I need to swap out the photo to an "image coming soon" photo is the path is absent from the database.
I have used the code shown below elsewhere on the site to show an alternate image if the path is absent from the database (we are missing some photos so i put up an "image coming soon" pic). The page is laid out with records showing up vertically with a picture on the left and info on the right. It works fine on this particular page:
Here is the code used on the above page:
<% if rs("sm")<>"" then %>
When I try to use this on the page with the 50 text links and try to swap the image out on rollover it doesn't work. It leaves one photo (the first record) and will not swap when you roll over the links. Can anyone help me with this?