Although not for comparison, a bit outside, I feel "Tables in Grid mode" if I may say so. (One common limitation you have advised is 5 column in both cases).
As I have few more extra columns...Here is my need and I am not sure how to go about it.
By default want a column in hide mode (unchecked in toggle) instead going through toggle. Toggle should have this unchecked by default.
If I may have something like data-priority-check="false" attribute fordata-priority.
This will complement data-priority feature. If users wish they can check in toggle to show that column.
I am sure it can be achieved via code as of now, can you please shed some light on how to go start in those lines if I have to. if this is worth a suggestion would be glad to post as an Idea.
a) to populate in text item after I click on the listitem and listview hides ,
b) or when data-clear-btn="true"
I tried this but no help
$('li .myfind a').on('click', function(e){
e.preventDefault();
$("#myfindtxt").val($(this).attr("id"));
})
Please guide me on this . Also, can you guide if I can choose to ignore listviewbeforefilter over my list view construction. I have just used it on pageinit.
PS:
a) I am using above listview in data-role="popup".
b) data-clear-btn="true" , some browser deliberate to press tab twice for next item navigation. Is this expected behaviour?
c) There pretty good plugins out there, but admin constraints on my side.
I am sure this must be one of those baby footstep questions.
Say I have am having an jQM + php + Db(JPD) built application fully functional. As of now, there is no device specific features that this application is depending upon. If I type web URL it works in the smart phones.
Now if I have to provide this as downloadable app is it possible and where should be the cut-off, I mean all processing are done at the server side. (basically nevertheless to say php generates the rendering JQM scripts).
Should we keep building devices specific code say an Init screen or some sort and make that as downloadable app to the user and a button click internally calls up to our server side my JPD application.
I have no idea on this, can you kindly guide the way to do it or look for some docs.
For my website I had used Meebo so far, but now that Google has acquired and de-support notice announced I would like to know if you can suggest free chat plugin/script available around that works with JQM.1.0
I m having this in the content so it looks little different.
How do i get the rectangular buttons.
Issue 2:
Also, when I used Buttons , the rendering of button labels gets a blur text overlap (in Opera Mini where i tested this), but not if i replace this by <a data-role="button"> the look and feel is good (Opera mini renders good as in other browsers). So wherever i used buttons i m replacing with <a data-role="button">. This is also in content div.
Please advise on these two where i am failing to understand.
in my Detail page I show collapisble=false attached for Fruit Details something like this
- Fruit Details
This is my collapsible content show by default for Fruit.
+ Juice Details
+ Salads Details
I want to expand when i traverse to the respective details based on Food page menu selection. Say if I click Juice my landing page should show Juice Details like this
+ Fruit Details
- Juice Details
This is my collapsible content show by default for Juice.
At the least, I have this two scenarios but I do not know how to achieve this with Navbars.
Experts can vet if it qualifies as an idea.
There could be workarounds with JQ plugins but I would be comfortable as suggested below to work with mainstream JQM, I am not so techie to write without guidance in the current Jqm.
I would prefer to have
1) like sliders , a timer based sequential switch to subsequent navbars (say data-timer=myTime, data-slide="left", data-slidestop="true" )
2) certain Form input val() meeting 'my' condition, should trigger switch to subsequent or named navbars (say navdivtarget.trigger("switch") )
$('ftrctrgrp').trigger('create'); // enclosed div i trigger, assuming it is rightway to get jqm feel factor
but some improvement, but not good, so finally,
I go again and inspect in Chrome copying all the class-span-etc, and put in newlink.
Some breather here, it works, but still not perfect.
I expected that since the new insertion is within div of controlgroup, it will remove 1st link ui-btn-right-corner and add to 2nd link.
So if i keep doing manually everything this is taking me nowhere, something wrong i m doing.
please advise what is basic thing that i should put in addClass and a proper trigger so that my ui controls are even. This was just a case of <a></a> but may apply to other controls as well, i guess.
Just like data-attribute reference in docs, if you have something like class-attribute it would be great for a learner like me.
As on the learning curve, finding difficult to presume the reason when recommended live(click ) fails to work but live(change) would work, this happens to be my case..
please guide what i m doing wrong which is making click event not getting fired...
// js
$(document).ready(function() {
$("input[name='usractsuschkbox']").live('change', function() { // replacing change to click fails
var n = $("input[name^='usractsus']:checked").length;
if ( parseInt(n) == 1) {
singleuserselect();// say $("div#hidenseek").css("color","amber");
}
else if ( parseInt(n) > 1) { // say $("div#hidenseek").css("color","green");
groupuserselect();
}
else{
nouserselect(); // say $("div#hidenseek").css("color","red");
}
})
})
The checkbox is dynamically generated and within div container of li which holds it.
My thanks to the team who are patient enough answering jqm-newbies doubts.
Please let me know where i m creating problem. It is giving the following error in console for dynamic page content (list view content) injections. The page shows data correctly but i doubt on the JQM ui construct/elements. Kindly have a look at the following...
// Uncaught cannot call methods on checkboxradio prior to initialization; attempted to call method 'refresh'
Basically it is about dynamically creating listviews and apply a toggle button to select/deselect these list items.
//toggle code ...This toggle fires (but with above error for dynamic list)
1) an error - as underlined earlier (...attempt on refresh prior initialization )
2) the list view when inspected does not have any of the JQM class UI inheritance (as in static page e.g. theme etc)...it is just a plain listmarkup what i have injected and displayed. i sense this is the reason of problem..
3) it makes me doubtful if have to avoid ready and in place use bind / live and why?
please help me to solve 1 , clarify 2 and 3 JQM concept...
I have the following, code that displays a data in one of the collapsible divs. The data is shown in the div correctly but i a bit of aesthetics is missing on my side; thought silentScroll should help the user indicate some data is rendered. There are some div that happens to be at the bottom of visual screen.
What should i do so that my data is scrolled up for the user and manual scrolling can be avoided ( let us say i use $.mobile.silentScroll(-100)) as below.
$('.mycollapsible').click(function(){
$.mobile.silentScroll(-100);
})
but unfortunately, this does not work . I m not sure on this!
When integrating JQM with Jqplot , if I run outside data-role="collapsible" it works including inside data-role="collapsible-set" . Please see the skeleton-code-comments
I recently marked keep me signed in Chrome browser, but now if i use Chrome to login, it is refreshing endlessly showing "Loading Please Wait " and not allowing to login. (Login widget trying to connect and delegating page refresh). I m not sure if this (keep me signed in) is the reason, I guess so because it is not giving opportunity to type user/pwd.
So I used another browser (Opera browser to login) and send you this message.
Kindly advise what I should do to continue using Chrome in case with normal login.
My congrats and thanks to the team on implementing Filter Topic Text , it has come out very well. I used it and then posting this query..
In JQM,
I want to have a combination of two powers
1. data-filter="true" (of list)
2. multiple="multiple" (of select)
Scenario:
I want to send mail to those people whose income category is "low , high" or etc...
problem now is having only search helps only to see not select, and
with multiple selects if candidate items are many it is difficult to scroll.
(say my DB values may have any combo of names under any category as it is all dynamically updated and i am constraint by only 1 UI to display to the user)
Please see the attachment picture of my problem (multiple, search) and my need (search-multiple.png) ...
I need to implement this, I have no clue how to do it in JQM app logic, any suggestions or guidance would help me out..
So i thought, if JQM features can help me...
say... a Filter combined with Select, new attribute like data-filter-multiple="true" (by default false) in multi-select only will be great.