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
---------- Post added at 21:05 ---------- Previous post was at 21:04 ----------
and replace the
Code:
<a href="Large/blah">
with
you don't need to, it's just tidier