Hi.
I have thumbnail images on a site, which, when clicked, swap an image on another part of the page. I did it in Dreamweaver, which produced this code...
<td width="101"><img src="images/cropcos/thumcos/pdress.gif" width="100" height="100" class="hand" onClick="MM_swapImage('astgraph','','images/cropcos/pdressbig.gif',0)"></td>
However, I have now moved the images, so they are no longer local but are stored online, on Photobucket. I can change the thumbnail image source easily, of course, but can't work out how to get the swapImage to work when the images are not local.
In the code below, you can see that I have changed the source for the thumbnail, which works fine. The larger version of the thumbnail image, used for the swapimage (seen in bold in the code below), is now at http://s453.photobucket.com/albums/qq25 ... essbig.gif but I can't work out how to get the swapImage to work using this new path.
Below is the code with new thumbnail path but the local swap image (in bold) still to be changed...
<td width="101"><img src="http://s453.photobucket.com/albums/qq256/astrellasite/images/costumethum/pdress.gif" width="100" height="100" class="hand" onClick="MM_swapImage('astgraph','','images/cropcos/pdressbig.gif',0)"></td>
The new swapImage (currently- images/cropcos/pdressbig.gif) is now at http://s453.photobucket.com/albums/qq25 ... essbig.gif
So, can anyone tell me, please, how to change the swapImage part,
onClick="MM_swapImage('astgraph','','images/cropcos/pdressbig.gif',0)"
to use an image that is stored online and not locally? All my attemtpts have failed.
Regards,
Ceri