You can have a container div (with id="credit", say) containing several divs each of which is hidden by default (display="none").
You then have a series of thumbnails each of which has an onclick that sets one of these target divs display property to "block".
Each of your divs would have a format such as:
Code:
<div class="switch" id="div1">
<a href="url1"><img src="image1.jpg" width = ... /></a>
</div
The style for class switch would be:
Code:
.switch { display: none;}
Each thumbnail would have the form:
Code:
<a href="#" onclick="showItem("div1");" ><img src="Thumb1.jpg" /></a>
The code for showItem would be:
Code:
function showItem() {
document.getElementByID.style.display="block";
return false;
}
You would also need some code to hide the display of any previous div, but that will depend on the context.
This code has not been tested.
John Rostron