jquery-mobile

Jquery mobile - Delay auto hiding address bar

十年热恋 提交于 2019-12-25 08:47:24
问题 I've happily developed a mobile website using JQuery Mobile, and everything works beautifully except for a noticeable delay hiding the browser address bar on the homepage (around 5 seconds on iOS Safari). AJAX transitions mean it's always hidden from that point on, but on the opening page the site logo is hidden for up to 5 seconds after the page has loaded, giving it a very unbranded and confusing feel for the user. Can anyone think of any reasons for the delay / ways to speed it up? There

using jquery mobile and codeigniter framework php

狂风中的少年 提交于 2019-12-25 08:27:26
问题 I'm creating jquery mobile site using codeigniter framework.If I start my project without using jquery mobile in the head everything work but if I insert jquery mobile in the head of my page and try to start my project I receive a gray page with write on undefined . I want explicity say that I'm not using any scripts in my page only I call in the head : <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min

Page loaded twice when trying to override jQuery Mobile default settings with touchOverflowEnabled

早过忘川 提交于 2019-12-25 08:21:14
问题 As specified in the global config options I am trying to override jQuery Mobile default settings using the script order as specified in: http://jquerymobile.com/test/docs/api/globalconfig.html I am able to achieve this however when I navigate pages on an ios device(iphone4 running ios5) they seem to be duplicated and appear over the top of one another once you visit a few links, or click the back button a few times. Here is my script order. <script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery

Phonegap + JQM: problems with local files on android

不问归期 提交于 2019-12-25 08:05:15
问题 I know this is common question, but I having a hard time understanding my results based on the various answers I have seen. I have an phonegap + jquery mobile application that is using several local html files. The hierarchy looks like this index.html | --- A.html (uses getJSON() to server to get list) | | | --- A1.html (uses getJSON() to server to get details) | --- B.html (uses getJSON() to server to get list) | --- B1.html (uses getJSON() to server to get details) html and js assets are

jQueryMobile script runs twice on each pageload

不想你离开。 提交于 2019-12-25 07:58:36
问题 I've been trying to get a script that inserts a div of text after the first and second paragraph of an article to work in jQueryMobile. It works on the first pageload, but on the second it loads the content twice, and the third time it's loaded three times, and so on. The jQueryMobile libraries and my script is loaded in the head: <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <script src="myscript.js"> <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1

How to create RSS reader for HTML5-based IPhone application using JqueryMobile?

笑着哭i 提交于 2019-12-25 07:52:05
问题 How to create RSS reader for HTML5-based IPhone application ? do I need PHP ? 回答1: No need for a server at all, except the one you want to fetch the RSS feed from... PHP sample: Check this out for a complete example! Client-only sample: link Hope this helps 来源: https://stackoverflow.com/questions/8325394/how-to-create-rss-reader-for-html5-based-iphone-application-using-jquerymobile

PhoneGap/Cordova + JQueryMobile: should HEAD be repeated in all pages?

让人想犯罪 __ 提交于 2019-12-25 07:41:15
问题 I'm doing my first steps in this environment and am trying to figure out the best practices. My app includes several HTML pages: Should I duplicate the whole HEAD part into all the HTML pages, Or maybe some of it is only required in the initial HTML page? EXTRA To my wonder I couldn't find an up-to-date example of a standard HTML header for such app, so with my question I'm also doing a share of knowledge. Here is the header which, in my understanding, is required to allow the combination of

JQuery Mobile - White screen between transitions

寵の児 提交于 2019-12-25 07:39:51
问题 Am using Samsung Galaxy Phone with Android 4.1 Version. Am seeing white screen between page tranistion. JQM Version is : 1.3.1 . Already doing the following as per other suggestions: $(document).on("mobileinit", function(){ $.mobile.defaultDialogTransition = "none"; $.mobile.defaultPageTransition = "none"; }); But, does not seem to work. This is more evident when we come back from another page. Would appreciate valuable suggestions and fix. 回答1: Make sure that the mobileinit handler is

How to handle them jump out(while keyboard open) in query mobile?

混江龙づ霸主 提交于 2019-12-25 07:33:53
问题 I am facing one problem actually my them goes up when user click on text field ?I am using query mobile 1.3. THIS IS MY SAME PROBLEM . why thems go up when entering the text in text field? Solution jQuery Mobile Responsive Panel and Textarea I use this solution but not get proper result. Here is my mobile 1.3 js http://jsfiddle.net/fMWnz/ In which line i should change so that it will work (function(root, doc, factory) { if (typeof define === "function" && define.amd) { // AMD. Register as an

JQuery Mobile & URL Parameters white flash on reload

折月煮酒 提交于 2019-12-25 07:33:29
问题 I am using query mobile for a phonegap application, I am passing through parameters through the url to the next page. For example: main.html?id=1, menu.html?id=2 etc To allow this I have to turn ajaxEnabled to false to allow it to pass through the information I need. In doing so I am unable to use transitions from page to page which means I get a white flash as the page reloads. I am generating these links dynamically. $.ajax({ url: 'URLTO WEBSERVER', dataType: 'jsonp', jsonp: 'jsoncallback',