Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.2.0, 2.3.0
-
None
-
Phonegap-version:cordova-2.1.0
Jquery-mobile-version:jquery.mobile-1.2.0
Android-2.x and 4.0
Description
I am using jquery mobile popup in my phonegap android app.I need to set the height to the popup and to scroll when the content exceeds in the popup.I have tried some code its working fine in android 4.0 but not working in android 2.2.
<div align="center">
<a href="#popupBasic" data-rel="popup">click here</a>
</div>
<div data-role="popup" id="popupBasic" data-theme="c" data-overlay-theme="c" >
<div align="center">
<a href="#" class="popupclose" onclick ="hidePopUp()">Close Window</a><br/>
</div>
<p>rdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgfjsdhgjkhshgsjhghsdjghjkgkrdgggggggggggggggggggggggggggggfretwetttttttttttttsvgcnncccccccccchdrtrytyfjfhjgf</p>
css:
.ui-popup {
position: relative;
overflow:scroll;
}
Script for setting height:
$( "#popupBasic" ).css( "height","100px");