I think this one may be simple for someone who knows some JS:
I have an image on a web page, and a script that basically swaps a new image in whenever you drag the image either left or right, to make it look like the object in the image is spinning. Easier to see than to describe:
It works great, except that that in FireFox when you click and drag it "captures" the mouse, so when you unclick it keeps shifting the image, and when you drag the mouse out of bounds and back onto the image, and click -- it snaps the image to a different spot. (If you just play with it for 2 seconds you will see what I mean).
This only happens in firefox, not in IE or Chrome.
I am wondering if anyone has a suggestion as to what the issue might be and how to fix?
All the code (JS/CSS/HTML) is in the source of the page.
Thank you very much in advance for any help!