ipad 上的 simplemodal 窗口定位
我刚刚完成项目查看器的一些工作,该查看器在 SimpleModal 窗口中显示嵌套的 jQuery Cycle 小部件。它运行得很好,只是现在我正在尝试为 iPad 调试一些东西。
看一下下图,可以更好地了解发生的情况,但基本上 SimpleModal 似乎在移动 safari 返回滚动顶部或等效项的方式上遇到了麻烦。我知道 SimpleModal“位置”选项需要更新,我现在才知道如何最好地进行它。
I'm just finishing some work on a project viewer that presents a nested jQuery Cycle widget within a SimpleModal window. It's working very well, except that now I'm trying to debug a few things for iPad.
Take a look a the graphic below for a better idea of what's happening, but basically SimpleModal seems to have trouble with the way mobile safari returns scrolltop or it's equivalents. I know the SimpleModal 'position' option needs to be updated, I'm just now sure how to best go about it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用“固定”选项:
$(element).modal({fixed: false});证明 - https://code.google.com/p/simplemodal/issues /detail?id=80
我的代码
Use "fixed" option:
$(element).modal({fixed: false}); Proof - https://code.google.com/p/simplemodal/issues/detail?id=80
My code