Commit graph

6 commits

Author SHA1 Message Date
Kin Blas
675657f877 Added an index page for the dynamic-samples directory and linked to it from the age-dynamic.html page. 2011-09-08 13:46:18 -07:00
Kin Blas
b3ce277152 Moved scottjehl's modified sample to a new file (sample-reuse-page-external.html) and restored the original code in sample-reuse-page.html. 2011-09-08 13:35:42 -07:00
scottjehl
6e0912f3b5 progress towards making this demo work with urls that represent server resources 2011-09-08 15:58:53 -04:00
Kin Blas
889d4b5acf Corrected a grammatical error in one of the sample comments. 2011-09-08 11:30:02 -07:00
Kin Blas
64537fa8c0 Removed some debug code from sample-reuse-page.html.
Checking in the start of a doc that walks folks through how to use the pagebeforechange event to short-circuit default changePage() behavior.
2011-09-08 11:26:22 -07:00
Kin Blas
78041bc7c9 Added path.isFirstPageUrl() which is now called from loadPage() when trying to determine if the URL being loaded refers to a page that is already in the DOM. This will prevent us from duplicating the first-page in the main application document.
Also checking in the first example of how to use the pagebeforechange notification to allow for dynamically updating and re-using a page that is already in the DOM.
2011-09-08 09:21:31 -07:00