Prevent copy dialog on iPhone (IOS4) when pressing on jQuery UI Slider
On a web page with a jQuery UI Slider, using the iPhone's web browser, pressing and holding a finger on the sli开发者_StackOverflow社区der control will pop up (after 2-3 seconds) the phone's built in copy (and more options) dialog. See image of dialog (ignore the rest of the screen content. This is just to illustrate the dialog I'm referring to)
Is there a way to signal to the browser to avoid opening this dialog?
Maybe you can change the slider to use the javascript swipe event.
For me, I detect iOS browsers and replace all sliders with jscrollpane, it supports finger swiping.
精彩评论