Forum Moderators: open
D O N
Is this a different issue than your Add To Cart Rollover [webmasterworld.com] question?
On the surface of it, I'd have to say the answer is the same: use a javascript onSubmit() function instead of a regular form submit.
Not sure if you are still trying to solve this... If so, the following worked for me:
<a href="javascript:document.yourformsname.submit()" onmouseover="image swapping code..."><img src="yourimage.gif"></a>
(I got it from a 2-yr-old post: [webmasterworld.com ])
I first tried the <input type="image" ...> solution, similar to Birdman's post, but couldn't get it to work... The 'image' form entities don't seem to get into the DOM, so there is no way for the onmouseover function to change the src of the image (unless I was doing something wrong).