IE兼容拖动滚动Div
附件是一个类似于 iPhone 上的概念输入的小提琴。使用名为 iScroll4 的库,该库适用于除 IE 之外的所有浏览器。
我测试过 IE 8 和 IE 9,都不起作用。这是一个适用于 Firefox、Chrome、Safari 和触摸屏移动设备的小提琴。
有人能解决吗?
Attached is a fiddle for a concept input similar to that found on the iPhone. Uses a library called iScroll4 that works on everything except IE.
I have tested IE 8 and IE 9 and both do not work. Here is a fiddle that will work Firefox, Chrome, Safari and touchscreen mobile devices.
Can any one solve it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
iScroll有这个问题很长时间了。您需要手动更新 iScroll 代码才能修复它。 zyrex 解决方案还可以,但可以更好:
iScroll have this problem for a long time. You need to update iScroll code manually to get it fixed. zyrex solution is Ok but can be better:
“不适用于 IE”是什么意思?
我遇到一个问题,即使用 iScroll 时我的完整页面无法在 IE 中加载。错误发生在事件监听器中。
如果 IE <= 版本 8,我通过切换事件侦听器来修复它。并且它有效。
What do you mean with 'do not work in IE'?
I encountered a problem, that my complete page does not load in IE when using iScroll. The error occured in eventListener.
I fixed it by switching the event listener if IE <= Version 8. And it worked.