Here's the function (and some additional javascript) that will do this for you:
Code:
<script language="javascript">
<!--
if (document.images) {
var initial = new Image();
initial.src = 'path/to/orig_image.gif';
var over = new Image();
over.src = 'path/to/over_image.gif';
}
function ChangeImg(id,name){
document.getElementById(id).src = eval(name + ".src");
}
-->
</script>
*cLFlaVA
----------------------------
Ham and Eggs walks into a bar and asks, "Can I have a beer please?"
The bartender replies, "I'm sorry, we don't serve breakfast.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.