On 30 Oct 99, 16:45, Daniel Guevel wrote:

> I am looking for one o those javascripts (or html tag)  hat make an
> image appear or change when you pass your mouse over a link.
> 
> I kave tried some I got from some pages, but could not make them work.

Here is a simple clickable image link that runs three images:

<A href="http://www.javagoodies.com" 
onMouseOver="document.img.src='2.gif'"
onMouseOut="document.img.src='1.gif'" 
onclick="document.img.src='3.gif'"></a>  


1.gif, 2.gif, and 3.gif are your images.  You assign one image to show 
as the mouse cursor passes over; another image to show as the mouse 
cursor moves away from the image; and a third image is assigned to 
appear when you click over the image.

Of course, in your script, substitute the names of your images for the 
one's showing in the above script.  Also, your A HREF will be the URL 
to where you want your link to go.

I got that script from Joe Burns' JavaGoodies site.  See his image 
scripts' page for more ideas:

http://www.javagoodies.com/img.html

Alan
[EMAIL PROTECTED]

Reply via email to