Forum Moderators: open
Thanks!
JS function:
function swapImage (sourceName,mapName)
{
document.largeImage.src="/images/commissions/houses/"+sourceName;
}
My call to the swap function:
<a href="#" onMouseover="img_act('p1')" onMouseout="img_inact('p1')" onClick="swapImage ('mayflower1.jpg','#Mayflower263'); return false">
The actual image display:
<img src="/images/commissions/houses/mayflower1.jpg" name="largeImage" width="712" height="470" border="0" id="largeImage">