Hello,
I got a javascript from javascript.internet.com genarators that swaps images. When I look at it in my browser it shows the images as red Xs but when I hover over it the onmouse picture comes up then when I move my mouse the the mouseoff picture comes up and stays. Everything works except for the red x in the beginning.
Here’s my script, maybe I did somthing wrong.
Thanks,
Louis 🙂
<HEAD>
<SCRIPT LANGUAGE=”JavaScript”>
<!– Begin
image1 = new Image();
image1.src = “email me.gif”;
image2 = new Image();
image2.src = “email me with.gif”;
// End –>
</script>
</HEAD>
<!– STEP TWO: Insert this code into the BODY of your HTML document –>
<BODY>
<a href=”index.htm” onmouseover=”image1.src=’email me with.gif’;”
onmouseout=”image1.src=’email me.gif’;”>
<img name=”image1″ src=”email me.gif” border=0></a>
<a href=”replace” onmouseover=”image2.src=’email me with.gif’;”
onmouseout=”image2.src=’email me.gif’;”>
<img name=”image2″ src=”email me.gif” border=0></a>
<a href=”” onmouseover=”image3.src=’email me with.gif’;”
onmouseout=”image3.src=’email me.gif’;”>
<img name=”image3″ src=”email me.gif” border=0></a>
</BODY>