I have a button on a page alongside some JS which gives it click-and-hold behaviour. Holding down the mouse button increases some value on the page over time. A demo of what I mean is here:
http://jsfiddle.net/ianb/kS8Hf/
The problem is that when I view this page on my mobile (Android 2.3.5) the button behaviour is overridden my the browser. If I hold down the button, I get a prompt asking me if I want to save the button image.
Is there any way to prevent this behaviour in the browser, or otherwise implement this button behaviour on a page intended for mobile?
Have you tried some element with a background instead of image? Afaik, when u use div with a background browser should not popup a promt to save this image.