Hi, I was wondering if there is a way to "unMouseOve r"?
I have the following script that does the mouse over - but I want the image to go back to the original when the mouse leaves the area.
I tried to use the same code and changed onmouseover to onmouseoff - and that didnt' work.
Please help!
Thanks!
Sophie
I have the following script that does the mouse over - but I want the image to go back to the original when the mouse leaves the area.
Code:
<body>
<script language="javascript">
function ShowPic1(sImage)
{
sImage = "http://i157.photobucket.com/albums/t58/olivas_enterprises/" + sImage + ".jpg"; document.ShowRoom1.src = sImage;
}
function ShowPic2(sImage)
{
sImage = "http://i157.photobucket.com/albums/t58/olivas_enterprises/" + sImage + ".jpg"; document.ShowRoom2.src = sImage;
}
</script>
<p dir="ltr"> </p>
<p dir="ltr" align="right">
<a onmouseover="ShowPic1('LSL')" href="http://i157.photobucket.com/albums/t58/olivas_enterprises/LSL.jpg" alt="Ship to Locations">
<img style="width: 128; height: 31" src="http://i157.photobucket.com/albums/t58/olivas_enterprises/DSL.jpg" name="ShowRoom1">
<a onmouseover="ShowPic2('LCS')" href="http://i157.photobucket.com/albums/t58/olivas_enterprises/LCS.jpg" alt="Customer Service">
<img style="width: 128; height: 31" src="http://i157.photobucket.com/albums/t58/olivas_enterprises/DCS.jpg" name="ShowRoom2">
Please help!
Thanks!
Sophie
Comment