- Screen name: borismus
- Expanded view
- List view
- Just add a <div class="ui-li-accordion"></div> to a <li> and it turns the list item into an accordion fold.
- Discrete filter plugin for listviews implemented as a dropdown at the top of the list, which selects only <li> with a certain data-category attribute.
- I'm working on a jQuery Mobile-based application, and have written a couple of plugins that I'd like to package up for wider consumption. I couldn't find an official way of doing this, so thought it might be best to put into experimental.So I looked there, and all of the files come with sample index.html files which don't run properly in my cloned repo. They do this weird thing though, which I have never seen before:<link rel="stylesheet" href="../../themes/default" /> and <script src="../../js"></script>,which I assume is supposed to load all files in the dir, but it only seems to happen for the JS. No CSS is loaded. I'm probably doing something wrong, though, since the experiments work online (like at http://jquerymobile.com/test/experiments/scrollview/).
I'm attempting to pass parameters from one page (ex. with a list view of items, each with an id) to the sub-page corresponding to each item. I need to pass the id to the sub-page. I'm attempting to do this with get-style parameters resulting in the following URL:
I have a pageshow callback: $('[data-role=page]').live('pageshow') which triggers when the page is loaded. However, when this event fires, the window.location isn't updated to have the extra parameters in it.
I think there are two possibilities:
1. I'm doing it wrong. Perhaps sub-hash URLs are the way to do what I'm trying to do:
- Next »
Moderate user : borismus