Quote:
|
Originally Posted by Mr_love_monkey
Replace
Code:
document.getElementById("theBigImg").src = theBigPic;
document.getElementById("theBigImg").alt = theBigPic;
with
Code:
document.getElementById("theImg").src = theBigPic;
document.getElementById("theImg").alt = theBigPic;
You're trying to set the properties of the html link not the image
|
well I tried that earlier but then, when I click the small image, nothing happens, it does not go to the big pic.
ik