Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

README updated with brief description, usage and notes.

  • Loading branch information...
commit 5b2c5e15387005db5755bde6992c83998ad22c74 1 parent c4e2400
@ToddThomson authored
Showing with 22 additions and 0 deletions.
  1. +22 −0 README
View
22 README
@@ -0,0 +1,22 @@
+Description
+
+ 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.
+
+Usage
+
+ Add a stack of child divs with data-role="subpage" to a parent div with data-role="page".
+
+Notes
+
+ 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.
+
+Demo
+
+ Coming soon..
Please sign in to comment.
Something went wrong with that request. Please try again.