Jrfan888
06-10-2003, 10:59 PM
Every time i add a <img style="position:absolute; top:0px; left:0px; width:370px;
height:352px" src="fly2.gif"> and then add the code for a mouseover...the mouseover doesnt show up. But if i just put a regular image tag, the mouseover works fine...why?
Dude128
06-10-2003, 11:23 PM
sounds odd...
could you post the code you've tried using for the mouseover?
Jrfan888
06-10-2003, 11:27 PM
<head>
<script language="JavaScript">
<!-- Hide the script from old browsers --
img0_on = new Image(94,25);
img0_on.src="a2.bmp";
img0_off = new Image(94,25);
img0_off.src="a1.bmp";
function over_image(parm_name)
{
document[parm_name].src = eval(parm_name + "_on.src");
}
function off_image(parm_name)
{
document[parm_name].src = eval(parm_name + "_off.src");
}
// --End Hiding Here -->
</script>
</head>
<body>
<a href="yoururl.html" onmouseover="over_image('img0');" onmouseout="off_image('img0')"> <img src="a1.bmp" border="0" name="img0"></a>
Its the one from Lissa's Javascript section of her site...