Ricky158
10-21-2002, 05:01 AM
hello, once again my faithfull programming *geniuses*. i have returned once more with yet another problem. i am trying to have the onmouseover event change one pic to another, while having both pics be a link to a site.
heres the code i have so far;
<A href="http://angelfire.com/extreme3/waterguns" onMouseout="document.linkpic.src='linkpic.jpg'; returnstatus();" onMouseOver="document.linkpic.src='linkpic2.jpg'"><IMG name="linkpic" src="linkpic.jpg" border="0" ></A>
everything looks fine when i put the mouse over the image, but when i pull the cursor out of the image, i see the little thing in the status bar tell me there's an error. and the error persists even if i put the cursor back in the image field.
any help is certainly appreciated. thanks.
EDIT; fixed a notable spelling error
heres the code i have so far;
<A href="http://angelfire.com/extreme3/waterguns" onMouseout="document.linkpic.src='linkpic.jpg'; returnstatus();" onMouseOver="document.linkpic.src='linkpic2.jpg'"><IMG name="linkpic" src="linkpic.jpg" border="0" ></A>
everything looks fine when i put the mouse over the image, but when i pull the cursor out of the image, i see the little thing in the status bar tell me there's an error. and the error persists even if i put the cursor back in the image field.
any help is certainly appreciated. thanks.
EDIT; fixed a notable spelling error