我已经使用 jquery mobile 设计了 android phonegap 应用程序。我需要显示弹出窗口并设置 jquery mobile 弹出窗口的高度。我给出了溢出:css 中的滚动和弹出内容在 android 4.0 中滚动,但在 android 中没有滚动2.2.
这是我的代码
<div align="center">
<a href="#popupBasic" data-rel="popup">Pop Up</a>
</div>
<div data-role="popup" id="popupBasic" data-dismissable="false" data-theme="c" data-overlay-theme="c" >
<p id="popup_content">PhoneGap is a free and open source framework that allows you to create mobile apps using standardized web APIs for the platforms you care about.Easily create apps using the web technologies you know and love: HTML, CSS and JavaScript.From first-timers to long-time veterans, we’ve got your dev needs covered. The developer portal is the place to find guides, documentation and tutorials.This guide describes how to set up your development environment for Cordova and run a sample application.</p>
</div>
CSS:
.ui-popup { 位置:相对;高度:100px;溢出:滚动;}
请指导我。在此先感谢。