Hi,
i need a code to change the image(for example i need to display 5 images) when the user click over the image.
thanks
Hi,
i need a code to change the image(for example i need to display 5 images) when the user click over the image.
thanks
I guess you can do this.
This is the sample of the image tag.
<img src="Creek.jpg" alt="creek image" width="359" border="0" height="310" onclick="changeImage(this)"/>
this could be your javascript function
function changeImage(obj){
obj.src = //insert your new image path here'
}
Hope that help:)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.