jquery-mobile-popup

Can you create nested popups with JQueryMobile

蓝咒 提交于 2019-12-20 05:25:15
问题 I am new to JQueryMobile... I am trying get this sample code to open another popup from within an open popup using JQueryMobile and I am failing. The first link works, but the one within the popup does not. I am also open to suggestions on a better way I should be doing this. <!DOCTYPE html> <html> <head> <title>Page Title</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="jquery/mobile/jquery.mobile-1.4.2.css" /> <script type="text

creating 2 popup's programatically(calling 2nd popup from 1st one) in jquery mobile

帅比萌擦擦* 提交于 2019-12-14 04:03:16
问题 I need to create 2 popup's programmatically and each popup should contain one INPUT box and one OK button and one CANCEL button. Upon clicking on the first popup OK button i have to bringup the second popup. I am new to jquery mobile, i looked into many docs but i didnt get proper way to do it. i tried to do it something like this. but didn't worked. var $popUp = $("<div/>").popup({ dismissible : false, theme : "a", overlyaTheme : "a", transition : "pop" }).bind("popupafterclose", function()

JQuery Mobile seeing black overlay blocks on Android

别说谁变了你拦得住时间么 提交于 2019-12-11 03:25:38
问题 I currently created a sample app built using JQueryMobile and Phonegap. Its a simple app, nothing special and it is intended to run on the Android platform, both for Mobile and Tablets. I have a page on the app which displays a popup dialog box, with a black/transparent background. This popup appears if a user clicks on a button on the previous page. On other mobile and tablet devices, the popup dialog with the black transparent background appears to look fine. However there is one device i

.Doing a super.requestRectangleOnScreen when i click on inputtext in popup

余生长醉 提交于 2019-12-10 12:17:53
问题 I had created an input for phone in which when a user click on the input-text a popup window will open which has a for in put text to enter like country code,area code , local no and extension if available. Know the issue is when a user click on the input text in the popup window popup window starts moving up and down so when i check the console log it shows some thing like this: 08-20 15:55:50.546: E/webtextview(2500): ....Doing a super.requestRectangleOnScreen.... can any tell whats the

Scroll to top of jQuery-Textarea

别说谁变了你拦得住时间么 提交于 2019-12-08 17:23:04
问题 I'm trying to add a "change log" to my jQuery mobile Application. In case of an error, the user should have the capability, to see what went wrong. Therefor I've implemented an popup, with a textarea (see code below) <!-- DIALOG Start--> <div data-role="popup" id="popupLog" data-overlay-theme="a" data-theme="b" style="max-width:400px;" class="ui-corner-all"> <div data-role="header" data-theme="b" class="ui-corner-top"> <h1>Logg-Einträge:</h1> </div> <div data-role="none" data-theme="b" class=

Jquery Mobile Popup not centered on first click

与世无争的帅哥 提交于 2019-12-05 11:52:12
I have a confusing problem with centering a jQuery Mobile popup. When I click it the first time it is not centered and appears in the corner of my page. After closing it and opening it again it is suddenly centered. This is my code: $(document).on("pageshow",function(){ $('.image_link').on('click', function(event){ var id = $(this).children('img').attr("id"); $("#show_image_img").attr("src",sPath + "/view/images/" + id); $("#show_image").popup('open'); $("#show_image" ).popup({ positionTo: "window" }); }); }); and this is my html code <div data-role="popup" id="show_image" data-theme="c" class

How to load Dialog or Popup before page load using jquery mobile

天涯浪子 提交于 2019-12-04 06:55:20
问题 Is there any method to call/show Dialog or popup before page load using jquery Mobile? I want to get some input before page load and according to that input next page will be loaded 回答1: To load a dialog or a popup before showing a page, you need to use seTimeout . if you call it without a delay, it will open and close at once. $(document).on('pagebeforeshow', '#pageID', function() { setTimeout(function () { $('#popupID').popup('open'); }, 100); // delay above zero }); Similar issue. 回答2:

Can you create nested popups with JQueryMobile

纵然是瞬间 提交于 2019-12-02 04:13:57
I am new to JQueryMobile... I am trying get this sample code to open another popup from within an open popup using JQueryMobile and I am failing. The first link works, but the one within the popup does not. I am also open to suggestions on a better way I should be doing this. <!DOCTYPE html> <html> <head> <title>Page Title</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="jquery/mobile/jquery.mobile-1.4.2.css" /> <script type="text/javascript" src="jquery/jquery-2.0.3.js" ></script> <script type="text/javascript" src="jquery/mobile/jquery

jquery mobile popup widget doesn't move when device's (android) keyboard is active

浪尽此生 提交于 2019-11-29 12:29:10
I have a jquery-mobile (1.3.1) + phonegap app in which I am using a pop-up widget (This app is for Android-any vresion). This popup is for sign-in (it has Username, Password and a "Sign-in" button. Whenever I click on a text-field (either Username or Password) the device keyboard comes-up but it overlaps with the popup. Because of this overlap, users cannot see what they are typing, and cannot click on Sign-In unless the keyboard is minimized. Here is the code what I have now - I've already used " data-position-to="window " <a href="#popupLogin" data-rel="popup" data-position-to="window" data

Popups fail in JQueryMobile 1.3.2 after update chrome version 43.0.2357.65 m

◇◆丶佛笑我妖孽 提交于 2019-11-29 10:42:54
Has the latest chrome version "43.0.2357.65 m" broken JQueryMobile 1.3.2 for anyone else? When I click a popup now it goes to the top of the page and the scroll bar dissapears. It was fine in previous version. The problem is affecting my applicaiton but is reproduceable on the JQueryMobile demo pages: Using Chrome 43.0.2357.65 m go to http://demos.jquerymobile.com/1.3.2/ Click on popup On the popup page click on "Sign in" button halfway down the page. It will go to the top of the page and the scrollbar will have disappeared. Note this doesn't happen every time - if you try it again it might