Limit 20 mb phonegap build. Any advice?
Hi, I have looked at all the threads on the forum but I have not managed to solve my doubt. I am new to this programming for android. I started with jQuery mobile in Dreamwever and everything is going perfect. Choose a template and am changing my will. I've been reading in this forum that if I finish my application with jQuery and compress the folder with all the files in my application when this is over and climb directly to the Adobe website phonegap build from there theoretically could compile.
Get RSS feeds to hybrid mobile app
My project is to create a hybrid mobile app for a press Joomla web site. I have the link of the RSS feeds (in XML), my questions is : How can i get the feeds with Ajax because Ajax is not cross domains ?? My app will be converted by Cordova to get the "Apk" and Cordova get just html and js files , I mean if i use php (Curl), i must put the php file in a server and communicate with the php file by ajax and Ajax is not cross domains ... I need your prepositions to resolve the problem Thank u in advance
How create fixed header and resizable content?
Hello How can I create a fixed header on full display for width and resizable content? Sorry for my bad English.
JQuery mobile Script builder question
I am new to JQuery and JQuery Mobile. I have been trying to understand the builder to create minimum script files and get lost in everything that you can select. This is all I use in my pages. Can someone help this newbie on how to use the builder? data-role="page" data-theme="a" class="ui-bar, ui-bar-a and ui-corner-all" data-role="content" class="ui-content" data-role="footer" data-position="fixed" data-role="page" data-url="map-page" data-role="header" data-position="fixed" data-theme="a"
nested lists and formatted content problem
Hi, I'm using the plugin that jQuery Mobile mention in the demo web (this one: https://github.com/arschmitz/jquery-mobile-nestedlists) and I'm using cells with thumbs + <h2> + <p> (descriptions). The problem is that the plugin is not totally working: if I click exactly in the circled arrow the next level is generated correctly, but if I click, for example, in the description it generates an empty list. I have created a Fiddle with my problem: Fiddle The plugin is in the JS window because it has been
Changing Checkbox and Radio Buttons from Javascript.
I have a form that I want to populate based on which 'line' of data I am on. The form as a couple of checkboxes in it. I know that I can find the various UI pieces that need to be changed and add/change classes. But this requires that my code be aware of some of the inner workings of Mobile. I was hoping that there would be a way to "trigger an event" (maybe?) that tells Mobile.. "Hey.. I changed the state of this checkbox/radiobutton.. make yourself look that way". I tried $("#checkhere").checked=false;
code for change Slider Range value
Hi to All, I'm able to read the value of an range/slider (single value) but have not idea of how to put/set/change the Value. <form > <label for="wait">Wait minutes:</label> <input type="range" name="wait" id="wait" min="1" max="60" step="1"> //btw same situation if add value="10" or so </form> //works, get the value changed by the user wait = $('#wait').val(); $('#wait').val("11"); //no works $('#wait').val(11); //no works $('#wait').slider('refresh'); //even
jQuery Mobile
Đầu năm 2016 tới nay, Thị Xã Thuận An vừa được Công ty cổ phần viễn thông FPT cho triển khai bổ sung thêm hạ tầng internet cáp quang thay thế cho hạ tầng ADSL cũ tại 1 số khu vực Phường An Thạnh, Phường Bình Chuẩn, Phường Bình Hòa, Phường Bình Nhâm, Phường Hưng Định, Phường Lái Thiêu, Phường Thuận Giao, Phường Vĩnh Phú và xã An Sơn trên địa bàn Thị Xã Thuận An. Hiện 2 dịch vụ chính mà FPT đang cung cấp lắp mạng fpt thuận an tỉnh Bình Dương là mạng cáp quang FTTH tốc độ cao + mạng ADSL tốc độ thấp
json with jquery mvc4 mobile application?..
$(function () { $('#TM1').change(function () { $.getJSON("@Url.Action("getEMI", "MISanction")", { loanamount: $("#loanamount").val(), rateofinterest: $("#rateofinterest").val(), tenureofmonths: $("#TM1").val() }, function (result) { $("#EMI").val(result) }) }); }); here json is not working.please tell how to work with json?..
Question on dynamic pages
I have 2 questions, I am writing a webpage that has all its pages created dynamically. I have 2 issues that I am not able to find an answer. http://jsfiddle.net/A8B2F/3/ 1. when the page loads, JQM seems to inject a generic empty page (this is what I get in the jsfiddle example <div data-role="page" data-url="/_display/"> </div>) by the time document ready event is fired where I would insert the first page. Is there an event or hook that I can subscribe to so that I can insert my first page content
jQuery Mobile + Cordova app
Hi all, I am developing an app using cordova and jQM 1.3.2, I have my project structured in a way like the attached pic. Calling whichever pages required inside the app, but there seems to be a lag during every navigation, a couple of blinks when I navigate to a new page. I researched on web to know how others develop cordova app using jQM, some put all pages content inside index and call using id, and there are few who does like in the pic, I want to know best possible method. Please advice!!
Adding a page to the DOM on the fly accessing data-values.
Hi, if I add a page to JQM to the DOM on the fly with append how would I access the data-attribute? I have inserted a page titled - new_dates that in the head has a data-value of 26, but how would I get it as the way I have tried, $('#new_dates').attr('data-value') displays as undefined. Thanks,
How to change color of collapsible ?
Hi everyone, I want to use my color for collapsible (heading and content) on jquery mobile 1.4.3 This version only support 2 color: data-theme="a" -> grey data-theme="b" -> black I dont know where I can edit it I hope your helping Thank you so much!
listview show/hide toggle
Hi there.. I have a jquerymobile document which include listview & search box and I was hoping to add a toggle button to either show or hide the listview so either search box and list (on status) or search box only (off status) apology is this question have been asked before, I did search here but couldn't find anything Thanks
Firefox ignoring min-height for height: 100% children
This issue is causing me some headaches trying to put an iframe inside a page. The page is automatically getting a min-height to account for fixed headers and footers and such, and that appears to be maintained on page transitions and window resizes. The problem is that if I put <div style="height: 100%"><iframe style='height: 100%'></iframe></div> inside the page, FireFox doesn't render it right. It seems to be ignoring the min-height as a height indicator altogether. So, the iframe gets the
Wrong caption vertical align in button on android device (nexus 5)
Please see right button in header navbar (screenshot). Vertical align Device Nexus 5 Android version 4.4.4 Chrome 35.0.1916.141 Test page: http://demos.jquerymobile.com/1.4.3/theme-default/ All ok on Windows 7 32bit Chrome Version 35.0.1916.153 Looks like only android problems
displaying a default value in search area of a listview
Hello all, I have a function that dynamically creates a list of timezones using jqm 1.3.2. function tzSearch(tz, sName) { $.post ("/Search", { "type":"tz" }, function(data) { var d = data.timezones; var catList = "<ul id='tzlist' data-role='listview' data-filter='true' data-filter-reveal='true' data-filter-placeholder='search timezone...' data-inset='true'>"; $.each (d, function(i, item) { catList += "<li>"; catList += item.tzone;
Announcing jquery.mobile.simultaneous-transitions, 1.0
I'm pleased to announce the release of jquery.mobile.simultaneous-transitions: https://github.com/watusi/jquery.mobile.simultaneous-transitions It's not exactly a plugin (yet). What it is is a simple set of files that you can drop-in to your head and replace the sequential transitions in jQuery Moblle 1.1.1 with the corresponding simultaneous transitions from jQuery Mobile 1.0.1 The repo also include an optional fix for bug #4340 which has not yet been incorporated in a publc release of jQuery Mobile.
jQuery Mobile Page Not Resizing (What am I doing wrong?)
Hello, My jQuery Mobile page is not resizing properly. What am I doing wrong? http://geoffdigital.com/nightrides I followed the examples I could find. Seems simple enough, but when I view it on my Android phone the image is not resized to my browser (it hangs off the right side of the screen). Geoff
persistant toolbars ui-btn-active
Hello, In this demo made with 1.4.0-rc1 version of jqm : http://demos.jquerymobile.com/1.4.3/toolbar-fixed-persistent/ the buttons of the footer stay in active state when changing pages. but in the demo of the official 1.4.3 version : http://demos.jquerymobile.com/1.4.3/toolbar-fixed-persistent/ the buttons loose there active state when changing page. Why the more recent and official version don't work correctly anymore ? Thank Sorry my bad english
JQM adds tabindex=0 - what is this for?
In JQM v1.4.2, on line 4410, in $.widget._enhance() there's a line of code: this.element .attr( "tabindex", "0" ) .addClass( "ui-page ui-page-theme-" + this.options.theme ); Can someone explain the reasoning behind adding the tabindex?
IE support for jqm 1.4.2
jquery mobile 1.4.2 not working on windows phone when opened in internet explorer
JQM - how to have more rows in a table?
I am new to JQM. I am trying to display a table that has 5 columns and 36 rows. I am using the column toggle format. Displays fine and the toggle works, but only 17 of the 36 rows display. How do I show more rows?
Localstorage not working on android.
I have a weird issue getting localstorage working on JQM. My code works perfectly fine viewed on a web browser, however on my android it will not receive the data from localStorage.getItem('visittime') to detect time and compare for deletion $( document ).on( "pagecreate", function() { var now = new Date().getTime(), storagedate = localStorage.getItem('visittime'); if(storagedate){ var diff = now - storagedate; if(diff > 60000){ localStorage.removeItem('visited');
jQuery Mobile Tab Widget Styling
Is it possible to modify the default styling of the jQuery Mobile Tab widget to be more like the jQuery UI Tab widget? More specifically, I'm looking to add a small gap between the tabs and to round out the edges (changing the jQuery Mobile 'Corner Radii' setting through the ThemeRoller had no effect). If this is not something supported out of the box through the current API, does anyone have any insight into how I would go about manually overriding the style? Thanks
set date before 1week from todays date runtime
hi .... I am using datebox control. In that , I want set date before 1week from todays date runtime.Please prove me solution for that.
Navigating Forward in Browser Displays Uncached Pages
I am using jQuery Mobile 1.4.2. I have 3 pages where Page1 performs a pagecontainer "change" to Page2 and Page2 performs a "change" to Page 3 while discarding the cache for Page2 using: $.mobile.pageContainer.pagecontainer("change", "Page3.html", { changeHash: false }); When testing in IE or FireFox, navigating back from Page3 successfully displays Page1 as desired. But, if I then press the browser's forward navigation button, Page2 reappears. How can I prevent this? Thanks, Tony
JQM 1.4.2 dynamic popup positioning wrong
Using JQM 1.4.2 and JQ 1.7.2 I'm loading the content of a popup dynamically by taping on a button element. Ideally the popup should be positioned relative to the button, but relative to the window will do. However, on both IOS and Android the page scrolls to the very top to display the popup there. I read about IOS scrolling bugs with popups ON CLOSE, but not on open. It works just fine on a desktop computer (linux, any browser will work) Code is simple and looks like this: html: don't mind the $()
Does it exist an open file dialog with JQuery Mobile ?
Hello, I would like to get a component that when I click on, a dialog box opens to choose a file on the mobile operating system. Does it exist this kind of component and compatible with the most mobile platforms ? Thank you
Remaining padding between an <li> tag and an image
Hello, I've a problem. Actually, I think that I've removed all padding and margin for every "li" tag in order to haven't anymore gaps but it's not the case. Between an image and the border of the "li" tag(the line), there is a gap of a few pixels. http://jsfiddle.net/dark0502/mCaNZ/ Do you have any solutions ? Thank you
Browserify deamdify jquery mobile
Has anyone was able to 1)Debowerify 2)Deamdify Jquery mobile ? here is what I did 1)bower install jquery-mobile It comes as AMD module in requirejs 2)npm install browserify debowerify deamdify 3)test.js require('jquery-mobile') 4)$ browserify -t debowerify -t deamdify test.js here is what I get Error: Parsing file project/app/bower_components/jquery-mobile/js/jquery.mobile.js: Line 1: Unexpected token = at Deps.parseDeps (/usr/local/lib/node_modules/browserify/node_modules/module-deps/index.js:339:28)
General Question about Jquery mobile
Hi every one, Can any one tell me how to creat jquery mobile...
Help with youtube video on my jquery mobile web!! please!
Hi!, i'm having trooble with videos from youtube in my web. when I press play (android phones and only mobile devices) to the video, the settings menu from the video apears blocking the video, I leave you photos and code, please help me! i'm creating a page for a cinema and I don't know what to do I'm really noob in jquery mobile! thank you. I leave you an attach photo from the issue, and the link to try it for yourself! thank you! (the issue only happens mobile devices) http://www.tiraderagol.tk/jq/#p1
Adding an iPhone style "swipe to delete" button to a listview
I needed to add this functionality to my company mobile website (http://m.goba.mobi) last week. I decided to also write up an article on how to add it to your own website: http://andymatthews.net/read/2011/02/18/Adding-iPhone-style-swipe-to-delete-button-to-a-listview-component-in-jQuery-Mobile Hope it helps someone.
popup not showing
I have a basic popup for language selection on site A. When i navigate to different page, i cannot show this popup anymore. As i understand, when navigating to page B, page A is hidden - with popup div on it. How can i solve this problem? Thanks
App version
Hi... I have an app into app store and google play. Sometimes I need to change the version of the app. I want to develop a way to send an alert notification to the user when there is a new app version available (I'm using Jquery mobile + phonegap) My idea: Into the app (apk, ipa) maintain a variable with the version Maintain a text file in the server with the current version IF Current version (in the text file at the server) > Version (into the app) send an alert to the user If the app is dormant
how to show a loading msg
hi all I have a large listview,estimate 300-500 entry . model as follows: I want to expand listview through this command: $("li[data-role='collapsible']").collapsible('expand'), and before expanding show a loading message,after collapse hide the loading message.I tried many methods, but still can not achieve this effect. <ul data-role="listview" data-inset="true" class="contentRightpos" > <li data-role="collapsible"
Change from overlapping list to list that breaks into 2 lines
I have a PhoneGap app that displays an unordered list utilizing jQuery mobile's layout. When you view the app on a smaller screen, the text overlaps and you can't read it anymore. I can't figure out how to have the line "break" so that it appears as two lines when the screen size is reduced, and one line when it is not reduced. When the app is run in full screen: When the app is run in a reduced screen: Is there a way to have the "Less Sales Returned..." become two lines? The HTML chuck: <div
Localstorage and listviews
Hello, I'm with a huge problem with my app. All of my clientes are asking me for an offline app... I have a listview and i want to load it when the app is offline Is there a way to load the entire listview into the localstorage? Localstorage is the best approach? I know there is a limit of 5mb .... It could be a problem for me. Any tolher way to do it? It would be great if someone has a sample code Thanks
Detecting a pages transition direction?
Hi, is it possible to detect an event when a page is hidden on the forward state only? For example if the page goes to another in a forward direction a function is called, but in a backwards direction it isn't. Or is it possible to detect the direction of the transition? Thanks,
Next Page