jquery-mobile

jQuery-mobile transitions judder on Android

故事扮演 提交于 2019-12-21 15:46:18
问题 Even in the emulator (Android 2.2) a page transition runs like this: touch some delay... slide to new page new page full visible, but hides instantly showing old page again some short delay... finally the new page It is a big flickering and looks very broken. Is that normal? What can I do about it? 回答1: It's normal. In fact this blog post about what to expect in jQuery Mobile 1.1 directly references that poor performance of transitions on Android. Looks like you will be stuck with it until

How to make emberjs app with a mobile look (like the one in jquery mobile)?

ぐ巨炮叔叔 提交于 2019-12-21 15:45:29
问题 I have a simple project of a web application for mobile using Emberjs. For the look and feel, I want something equivalent to JQuery Mobile. Is there a way to mix Emberjs and jquery mobile? If so, how? I have looked at the Travis-ci mobile app and they seem to have only defined a specific css for the mobile version. What is strange is that they also have this file : file that seems to be an attempt to integrate with JQMobile but they don't use it anywhere in the code. I also have found this

jQuery-mobile transitions judder on Android

孤人 提交于 2019-12-21 15:45:13
问题 Even in the emulator (Android 2.2) a page transition runs like this: touch some delay... slide to new page new page full visible, but hides instantly showing old page again some short delay... finally the new page It is a big flickering and looks very broken. Is that normal? What can I do about it? 回答1: It's normal. In fact this blog post about what to expect in jQuery Mobile 1.1 directly references that poor performance of transitions on Android. Looks like you will be stuck with it until

jQuery Mobile - Problems getting showPageLoadingMsg to work with pagebeforeshow or pagebeforeceate

旧时模样 提交于 2019-12-21 12:57:06
问题 I'm on my second week of trying to resolve this issue of getting a load message to properly display :-( I'm just having a very tough time getting either the pagebeforecreate or the pagebeforeshow events to fire the $.mobile.showPageLoadingMsg(). Here's a link to example on jsfiddle: [http://jsfiddle.net/7fxQf/25/][1] Note the jsFiddle is referencing the mobile 1.0b3 library. Here's sample of the basic code snippet that should work, but does not: $('#mypageone').live('pagebeforecreate',

jQuery Mobile - Problems getting showPageLoadingMsg to work with pagebeforeshow or pagebeforeceate

泄露秘密 提交于 2019-12-21 12:56:57
问题 I'm on my second week of trying to resolve this issue of getting a load message to properly display :-( I'm just having a very tough time getting either the pagebeforecreate or the pagebeforeshow events to fire the $.mobile.showPageLoadingMsg(). Here's a link to example on jsfiddle: [http://jsfiddle.net/7fxQf/25/][1] Note the jsFiddle is referencing the mobile 1.0b3 library. Here's sample of the basic code snippet that should work, but does not: $('#mypageone').live('pagebeforecreate',

Table showing each JQueryMobile version and its compatibility with JQuery versions?

本小妞迷上赌 提交于 2019-12-21 12:55:17
问题 Given that JQueryMobile uses JQuery, I'm looking for a definitive table that lists JQueryMobile versions and which earliest and latest versions of JQuery they can use. To my great surprise JqueryMobile.com does not seem to have this table, except for the latest version of JQueryMobile and what it is paired with, on the site front landing page. People will want to use JQueryMobile earlier versions for a number of good reasons, e.g. if there is regression in later versions, other compatibility

Combining jQuery Mobile taphold and jQuery UI draggable

大憨熊 提交于 2019-12-21 12:37:41
问题 I'm working on a mobile application where I'm trying to combine jQuery UI's draggable functionality with jQuery Mobile's taphold event. The idea is that an element becomes draggable when a taphold is executed. Draggable is being initialized on elements in the following code: $('div.rect', '#outerBox').draggable({ containment: "parent", grid: [50, 50], disabled: true, stop: function(event, ui) { $(this).draggable('disable'); $(this).removeClass('highlighted'); } }); As you can see the

fix url using jquery mobile

强颜欢笑 提交于 2019-12-21 11:31:16
问题 I'm using jquery mobile to building a site but when I click on a button and this button points to a dialog page, in the URL appears #&ui-state=dialog . If I put in the <a data-ajax="false"></a> the url is correct without #&ui-state=dialog but the dialog window doesn't show correctly because obviously ajax is disable.there is some way to fix it? 回答1: When you open the dialog, use $.mobile.changePage() and set the changeHash option to false : http://jquerymobile.com/demos/1.0.1/docs/api/methods

fix url using jquery mobile

筅森魡賤 提交于 2019-12-21 11:30:02
问题 I'm using jquery mobile to building a site but when I click on a button and this button points to a dialog page, in the URL appears #&ui-state=dialog . If I put in the <a data-ajax="false"></a> the url is correct without #&ui-state=dialog but the dialog window doesn't show correctly because obviously ajax is disable.there is some way to fix it? 回答1: When you open the dialog, use $.mobile.changePage() and set the changeHash option to false : http://jquerymobile.com/demos/1.0.1/docs/api/methods

Google Places Autocomplete with Jquery Mobile not working on mobile/touch device

非 Y 不嫁゛ 提交于 2019-12-21 10:48:39
问题 As title suggests I am building a mobile website with JQuery Mobile (1.3.0) and am trying to implement Google Places Autocomplete (API v3) to aid user input of location data. The autocomplete functions correctly on desktop device, but not when used on a mobile device (I have only tested on iOS 6). When used on mobile device the dropdown list of relevant locations do appear, but simply disappear when you press one without loading the selection on the map. I have looked around and seen some