开发者

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?

Prevent copy dialog on iPhone (IOS4) when pressing on jQuery UI Slider


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜