- Screen name: commadelimited
commadelimited's Profile
18 Posts
50 Responses
1
Followers
Show:
- Expanded view
- List view
Private Message
- I'm using the autocomplete widget. I want to highlight the characters that the user has typed in the results dropdown. I'm actually wrapping the characters in a bold tag server-side. The problem is that the JSON packet is converting the bold tags to HTML entities and displaying the actual code rather than the rendered source.Is there a way to avoid this? Is there a better way to highlight the characters?
- 17-Jan-2012 12:25 PM
- Forum: Developing jQuery Mobile
This is related to another post:Basically I want to add global config options to my app on a case by case basis, as needed. I mostly want to know which event I should be binding to for this to work reliably.- 17-Jan-2012 11:45 AM
- Forum: Developing jQuery Mobile
We're running into an odd issue where buttons on a page stop working after a certain series of actions. We can reproduce this issue reliably but don't have time to dig heavily into it. So we're trying to code around it for now using the following approach.1) User submits a form via POST.2) A flag is set in the server code of "bPost = true".3) In the head tag is a live, or delegate, code block which tests the existence and value of bPost4) If found, and true, add in $.mobile.ajaxEnabled = false; to force the NEXT page load to be made via normal HTTP request.The problem is that it doesn't seem to be working. Can anyone shed some light on this, or perhaps offer up a better alternative?- 26-Jul-2011 04:29 PM
- Forum: Developing jQuery Mobile
In my mobile web app, I have a set of data that is being displayed as a list view. Inside the data coming from the server are the occasional anchor tag. Under normal circumstances, the listview displays just like you'd expect. However, when a row containing a link is received jQuery Mobile flips out and applies anchor tags to everything inside the LI tag.I'd like to pause page rendering long enough for me to strip out the anchor tag, then allow jQM to continue it's processing. I've tried using pagebeforecreate to see what's coming in, but when I introspect it's contents it appears that jQM has already initialized the contents.$('div[data-role="page"]').live('pagebeforecreate',function(a,b){
self.log(a);
self.log(b);
});How do I get the raw content for manipulation but still let jQM do it's work?
I'm trying to work on a navigation model using horizontal inline scrolling (see demo below).
http://andymatthews.net/code/scrolling/
I discovered the Overscroll plugin which seems to work quite well. The problem is that links inside the parent container aren't clickable on my iPhone 4. On my coworkers Android Incredible neither scrolling nor clicks work.
Was wondering if anyone else has something like this, or knows what I might do to resolve the scrolling/clicking issues on mobile.
- 31-Mar-2011 02:36 PM
- Forum: Developing jQuery Mobile
Our web app, http://m.goba.mobi, uses dialogs for various settings screens. In our current situation we're acting upon an option a user clicked in an email. We'd like for a dialog to open when the page loads. We're using $.mobile.changePage to trigger the load, and the page does indeed load. The problem is that the dialog is missing the close button normally found in the top left corner.Is there a trick to opening a window programmatically and still keeping the close button? We're going to try passing in the [from,to] array method next but I wanted to post here in the meantime to get the question started.- 23-Feb-2011 11:06 AM
- Forum: Developing jQuery Mobile
Our mobile website at http://m.Goba.mobi has a login on the main page. After login I need to call a method which will begin polling for data. I'm not sure of the best way to go about this since jQuery Mobile strips <script> blocks from page calls, and also caches the header and footer.Can someone give me some input on this?- 21-Feb-2011 02:24 PM
- Forum: jQuery Mobile
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:Hope it helps someone.- 15-Feb-2011 12:25 PM
- Forum: Developing jQuery Mobile
I've implemented a swipe menu on a listview component. It works great except that it seems like jQM is intercepting some event and is preventing me from finalizing the functionality. To accomplish this I'm injecting a div container (containing the buttons) directly inside the LI. Here's a quick video of the menu:When you watch the video you'll notice that I've got it working quite well, with one or two exceptions.I'd like to be able to "escape" the current swipe menu. That could be either by reswiping, or tapping anywhere on the row (that's not a button). The problem is that tapping anywhere in the open space of the row fires the URL associated with the Prod button (see video). Reswiping doesn't seem to work either as something is interfering with the event.Does anyone have an idea what might be happening, or why jQM is getting in the way?- 07-Feb-2011 11:26 AM
- Forum: Developing jQuery Mobile
FYI...When navigation through our development site which just migrated to Alpha 3, there are cases where the back button, which appears in the top left corner, disappears when the page reloads. Unfortunately none of the public facing pages exhibit this behaviour, but it occurs every time that a page is reloaded.- A coworker is having issues using the jQuery Mobile radio buttons. I'm posting this for him:
This is our mobile web sign-up form. I am working on a test suite for the mobile web app and the first scenario tests our error display when a user submits a form improperly.
http://m.goba.mobi/#/signup.html
When the form loads initially, everything looks as it should. If an error is generated when the form is submitted, we reload the page, displaying the appropriate error. When this happens, the radio buttons disappear. See attached screen shot (gone.png).
Additionally, when the user hits the back button, the radio buttons get royally hosed up. See attached screen shot (messed-up.png). These screen shots are from Firefox on Mac, however I have confirmed the same behavior on webkit on Android (EVO 4G)
This is obviously a bug and can be duplicated by viewing the link provided above.
- 21-Jan-2011 02:31 PM
- Forum: Developing jQuery Mobile
A coworker is trying to add an external link to a page which is loaded up as a dialog. Each time he clicks the link the dialog simply closes on him. He confirmed that the link works by placing it on the parent page of the dialog.So, is this intended behaviour for dialog pages, or is this a bug?- 21-Jan-2011 10:27 AM
- Forum: Developing jQuery Mobile
In traditional HTML, I can link to a specific portion of an HTML page like so:<a href="somePage.html#about-us">About Us</a>However, since jQM takes over the hash for back button functionality, how would I accomplish this within the framework?- Will jQuery Mobile be supporting high res icons for the retina display? I thought it would be as easy as this:
@media screen and (-webkit-device-pixel-ratio: 2) {
.ui-icon {
background-image: url("/imagesv1/mobile/icons-36-white.png");
}
}
But alas it is not. The icons are off position. I could dig into the code and tweak it but don't want to lose those changes in future releases. Any suggestions?
- I'd like to place a button into the listview header, like in the first image.However, when I add a link button to the header container the entire row becomes a clickable list item. Is there a built in way to do this or will I have to roll my own?Attachments
- newEventHeaderButton.jpg
- Size: 33.63 KB Downloads: 1063
- 13-Jan-2011 12:39 PM
- Forum: Developing jQuery Mobile
We have a signup form on our mobile web app that has client, and server, side validation. What is the best way to display an error message to the user from the server?Currently we're submitting to the server, then reloading the same page, but displaying a new module for the error:Enter any username or password to see the msg. What I'd really like to do is to trigger a modal, or alert, or dialog with the content from the server but that doesn't seem to be available. How would you all do this?- I have need of a modal / alert style component for our mobile web app. We want to use it to show potential errors to users, as well as inform them of changes, etc.I'm not seeing one in the documentation, instead it teaches us to use a full page dialog to display only a few words or sentences. Is there a better way? What are other people doing to accomplish this goal?
- 13-Jan-2011 12:32 PM
- Forum: Developing jQuery Mobile
I have an FAQ that I need to produce for our jQuery Mobile website. It's a typical question/answer approach and I was wondering what the best way to write this would be. My initial thought is to have a listview for the questions, each of which link to their answer. Perhaps the questions on one page, linking to the specific section of the answers page which deals with that question.Anyone have ideas how I could turn this out?- «Prev
- Next »
Moderate user : commadelimited
© 2012 jQuery Foundation
Sponsored by
and others.



