Forum Moderators: open

Message Too Old, No Replies

Making the "Add to Cart" Button with rollover effect

         

dreaming of nascar

6:31 am on Feb 22, 2003 (gmt 0)

10+ Year Member



Hello,
I want to have my "Add to Cart" button on my website be able to have rollever effect. Could someone tell me how to do this. This is what I have, but I get errors:
<input type=image SRC=image.gif NAME=blah onMouseOver="function to change image; return true" onMouseOut="function to change image back to original; return true">

What do I do to make this work? I can get it to work if I use <IMG SRC=...> but then it does not submit the info. to the cart correctly. If anyone understands my gibberish and could offer assistance I would greatly appreciate it. Thanks!

D O N

hakre

7:09 am on Feb 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi dreaming of nascar,

one quick workaround would be to submit via javascript and the onclick event. this only works with javascript for shure. if you can add an item by link, then you could use a link instead of javascript.