View Single Post
Old 08-06-2006, 21:32   #5
ikthius
Inactive
 
ikthius's Avatar
 
Join Date: Mar 2004
Location: Glasgow, Scotland
Services: anything for a new job
Posts: 4,165
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
ikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronzeikthius is cast in bronze
Re: Slight probs with a javascript

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
ikthius is offline   Reply With Quote