PDA

Click to See Complete Forum and Search --> : Netscape IMG change on click


dndstef
Oct 27th, 2000, 10:43 AM
I have have an image and i want it to change for another
one when i click on it.

How can i do that so it work in both
Internet Explorer and
Netscape

kurtsimons
Oct 27th, 2000, 11:10 AM
doesn't


function changeimg() {
document.ImageName.Src = "dffh.gif"
}


<a href = "JavaScript:changeimg()">sdafjkl</a>

work?

dndstef
Oct 27th, 2000, 01:18 PM
No it doesn't work with this code

kurtsimons
Oct 29th, 2000, 09:38 PM
check out this web page it uses mouse overs as well as clicks.



http://www.richardsonsicecream.com/golfcountry.html