本文介绍了禁用页面滚动,但允许Google地图滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个appmobi / xdk / appframework的应用程序,当我把它放入包装中的时候
它在iPhone上垂直禁用页面的滚动页面。但是,它也会禁用页面上Google地图的滚动。关于如何重新启用地图滚动的任何想法?
解决方案
只需在面板中添加滚动=no footer =noneif you want more space for map
< div id =mainclass =panelselected =truescrolling =nodata-footer =none>
I have an app using appmobi/xdk/appframework when I put in the package
It disables the scrollinf of the page vertically on the iPhone. However, it also disables the scrolling of the Google map on the page. Any ideas on how to re-enable the map scrolling?
解决方案
Just add scrolling="no" in your panel and data-footer="none" if u want more space for map
<div id="main" class="panel" selected="true" scrolling="no" data-footer="none">
这篇关于禁用页面滚动,但允许Google地图滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!