new at this
07-07-2007, 08:42 PM
Hello,
I know that this is probably basic stuff for most of you but I have tried many different codes to achieve a image mouseover and not one has worked.
this is the first one that I tried
<SCRIPT LANGUAGE="javascript">
<!--
t4=new image(112,150)
t4.src="tes1.jpg"
2t4=new image(112,150)
2t4.src="Tes2.jpg"
//-->
</SCRIPT>
</HEAD><BODY>
<center>
<A HREF="page2b.html" ONMOUSEOVER="document.TessaT4.src=t4.src" ONMOUSEOUT="doucment.TessaT4.src=2t4.src">
<IMG SRC="tes1.jpg" NAME="TessaT4">
</A>
</body>
all I got was my first image and nothing happened.
I have tried a JavaScript code generator and got nothing, not even an image. on the page.
I have tried many different ways of doing this and still nothing.
Any help would be great
Thanks Erica
I know that this is probably basic stuff for most of you but I have tried many different codes to achieve a image mouseover and not one has worked.
this is the first one that I tried
<SCRIPT LANGUAGE="javascript">
<!--
t4=new image(112,150)
t4.src="tes1.jpg"
2t4=new image(112,150)
2t4.src="Tes2.jpg"
//-->
</SCRIPT>
</HEAD><BODY>
<center>
<A HREF="page2b.html" ONMOUSEOVER="document.TessaT4.src=t4.src" ONMOUSEOUT="doucment.TessaT4.src=2t4.src">
<IMG SRC="tes1.jpg" NAME="TessaT4">
</A>
</body>
all I got was my first image and nothing happened.
I have tried a JavaScript code generator and got nothing, not even an image. on the page.
I have tried many different ways of doing this and still nothing.
Any help would be great
Thanks Erica