From 31144912f0a7cf1f68066d9f8236e7225ed304f2 Mon Sep 17 00:00:00 2001 From: toddparker Date: Tue, 15 Nov 2011 13:47:04 -0500 Subject: [PATCH 1/4] Added notes about linking to multi-page docs and added a link to the subpage plugin --- docs/pages/page-links.html | 2 ++ docs/pages/page-navmodel.html | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/pages/page-links.html b/docs/pages/page-links.html index 7d7f2f67..b82f83a1 100755 --- a/docs/pages/page-links.html +++ b/docs/pages/page-links.html @@ -35,6 +35,8 @@

If the Ajax request is successful, the new page content is added to the DOM, all mobile widgets are auto-initialized, then the new page is animated into view with a page transition.

If the Ajax request fails, the framework will display a small error message overlay (styled in the "e" swatch) that disappears after a brief time so this doesn't break the navigation flow. View an example of the error message.

+ +

Note: that you cannot link to multipage document with Ajax navigation active because the framework will only load the first page it finds, not the full set of internal pages. In these cases, you must link without Ajax (see next section) for a full page refresh to prevent potential hash collisions. There is currently a subpage plugin that makes it possible to load in multi-page documents.

Linking without Ajax

diff --git a/docs/pages/page-navmodel.html b/docs/pages/page-navmodel.html index 888a64c5..13a9a724 100644 --- a/docs/pages/page-navmodel.html +++ b/docs/pages/page-navmodel.html @@ -129,6 +129,7 @@ $.ajaxPrefilter( function(options, originalOptions, jqXHR) {