cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mohanapriya (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-1971) Set scroll to jquery mobile popup in android 2.2
Date Thu, 06 Dec 2012 04:50:58 GMT
mohanapriya created CB-1971:
-------------------------------

             Summary: Set scroll to jquery mobile popup in android 2.2
                 Key: CB-1971
                 URL: https://issues.apache.org/jira/browse/CB-1971
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.2.0, 2.3.0
         Environment: Phonegap-version:cordova-2.1.0
Jquery-mobile-version:jquery.mobile-1.2.0
Android-2.x and 4.0
            Reporter: mohanapriya
            Assignee: Joe Bowser


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");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message