Forum Moderators: open
Sorry not more clear. You can see why I've had a difficult time finding something like this using search engines.
Thanks, pmshaw
Well, this has to be done with JavaScript.
Example:
<script type="text/javascript">
var img=new Array(2)
img[0]=new Image;
img[1]=new Image;
// This is just a blank "place holder" gif ..
img[0].src="images/blank.gif";
// This displays a nice little message like
// "Image loading. Please wait ..." or
// something like that
img[1].src="images/wait.gif";
function over(which) {
document.getElementById('fullsize').src=img[1].src;
document.getElementById('fullsize').src="images/fullsize"+which+".jpg";
}
function out(which) {
document.getElementById('fullsize').src=img[0].src;
}
</script>
Somewhere on the page, place the placeholder gif, which should be the same size as the other images are (assuming they are the same size). Giv the image an ID, for example
id="fullsize" Make sure the thumbnails are linked using the anchor tag. In each tag you place the following code:
onmouseover="over(#)" onmouseout="out(#)" ... where # is the number of the image (give them all unique numbers, perferably starting with 1). The fullsize images should be named something like "fullsize1.jpg" .. where the number is the same as in the links mentioned above.