Skip to content
Browse files

README updated with brief description, usage and notes.

  • Loading branch information...
1 parent c4e2400 commit 5b2c5e15387005db5755bde6992c83998ad22c74 @ToddThomson committed Nov 4, 2011
Showing with 22 additions and 0 deletions.
  1. +22 −0 README
@@ -0,0 +1,22 @@
+ A jQuery Mobile widget that allows subpages to be added to pages. This is useful when a mobile view
+ needs to be structured as a number of partial views with page transitions between them. This gives a
+ HTML5 mobile app more of a native feel. For views of this type the added benefit is that only 1 AJAX
+ request is needed.
+ Add a stack of child divs with data-role="subpage" to a parent div with data-role="page".
+ Subpage div's are automatically detahed from the parent page div and inserted into the DOM when the parent
+ page is loaded. When the parent page is hidden, the child subpages are removed from the DOM.
+ The functionality provided by this widget is a workaround for the jQuery Mobile loadPage() function which
+ only loads the first page in an AJAX response.
+ Coming soon..

0 comments on commit 5b2c5e1

Please sign in to comment.
Something went wrong with that request. Please try again.