PDA

View Full Version : Need help, yet again :)


unCle_FUBAR
07-27-2005, 04:51 PM
How can i do a mouseover image swap on this?

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="HiddenEmail@email.com">
<input type="hidden" name="item_name" value="Server Donations">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.hotelcali.net/thanks.htm">
<input type="hidden" name="cancel_return" value="http://www.hotelcali.net/index.html">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src="pics/donation.gif">


I would like it to switch from "donation.gif" to "donation2.gif" on a mouseover, and then back again on a mouseoff. Can anyone help me?

I have tried to do this several ways but i cant seem to get it to work.

Help, once again, would be greatly appreciated. :)

_Aerospace_Eng_
07-27-2005, 04:57 PM
<input type="image" src="pics/donation.gif" onmouseover="this.src='pics/donation2.gif'" onmouseout="this.src='pics/donation.gif'">