Absath
March 6th, 2004, 05:10 PM
In the show_product_detail.php, I want the product image to change on mouse over, then change back on mouse remove.
Now, I know I have the option to upload a regular product image (Image) and a bigger version (Large Image) that people get when they click on the regular image. I have no need for the larger images, so I was wondering if I could just use that slot to upload the second image of the mouseover, in which case, what code would I use to call it?
The mouseover code looks like this:
<img src="front.gif" width="300" height="300"
onmouseover="this.src='back.gif"
onmouseout="this.src='front.gif'" />
So what snippet of code would I put in place of "front.gif" and "back.gif"?
-Tim
Now, I know I have the option to upload a regular product image (Image) and a bigger version (Large Image) that people get when they click on the regular image. I have no need for the larger images, so I was wondering if I could just use that slot to upload the second image of the mouseover, in which case, what code would I use to call it?
The mouseover code looks like this:
<img src="front.gif" width="300" height="300"
onmouseover="this.src='back.gif"
onmouseout="this.src='front.gif'" />
So what snippet of code would I put in place of "front.gif" and "back.gif"?
-Tim