mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-26 00:54:43 +00:00
Merge pull request #2988 from jasonlcrane/docs-page-navmodel-1
Update docs/pages/page-navmodel.html. Thanks jasonlcrane!
This commit is contained in:
commit
4c6871d5be
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
<h2>pushState plugin</h2>
|
||||
|
||||
<p>There is an optional feature is converts the longer, hash-based URLs mentioned in the previous section into the full document path which is cleaner and makes the Ajax tracking transparent in the URL structure. This is built as an enhancement on top of the hash-based URL system for Ajax links. Note that despite the name, this feature technically converts hash-based urls by using <code>history.replaceState</code> (not <code>history.pushState</code>) in the current release because this works more reliably across our target platforms. For browsers that do not support <code>history.replaceState</code>, or if this feature is disabled, hash-based URLs will be used instead. </p>
|
||||
<p>There is an optional feature that converts the longer, hash-based URLs mentioned in the previous section into the full document path which is cleaner and makes the Ajax tracking transparent in the URL structure. This is built as an enhancement on top of the hash-based URL system for Ajax links. Note that despite the name, this feature technically converts hash-based urls by using <code>history.replaceState</code> (not <code>history.pushState</code>) in the current release because this works more reliably across our target platforms. For browsers that do not support <code>history.replaceState</code>, or if this feature is disabled, hash-based URLs will be used instead. </p>
|
||||
|
||||
<p>Since the plugin initializes when the DOM is fully loaded you can enable and disable it manually by setting <code>$.mobile.pushStateEnabled</code> global <a href="../api/globalconfig.html">configuration option</a> to <code>false</code> anytime before document ready.</p>
|
||||
|
||||
|
|
@ -99,7 +99,7 @@
|
|||
|
||||
</ul><h2>Form submissions</h2>
|
||||
|
||||
<p>Form submissions are handled automatically through the navigation model as well. Visit the forms section for more information.</p>
|
||||
<p>Form submissions are handled automatically through the navigation model as well. Visit the <a href="../forms/forms-sample.html">forms section</a> for more information.</p>
|
||||
|
||||
<h2>Using the Application Cache</h2>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue