Browse files

Added a note about how data-ajax="false" can now be applied to contai…

  • Loading branch information...
1 parent 5263a7b commit dfccb1dc800ef6a69d08d333c67836550e7dea8e @toddparker toddparker committed Feb 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/pages/page-links.html
@@ -44,7 +44,7 @@ <h2>Default link behavior: Ajax</h2>
<h2>Linking without Ajax</h2>
<p>Links that point to other domains or that have <code>rel="external"</code>, <code>data-ajax="false"</code> or <code>target</code> attributes will not be loaded with Ajax. Instead, these links will cause a full page refresh with no animated transition. Both attributes (<code>rel="external"</code> and <code>data-ajax="false"</code>) have the same effect, but a different semantic meaning: <code>rel="external"</code> should be used when linking to another site or domain, while <code>data-ajax="false"</code> is useful for simply opting a page within your domain from being loaded via Ajax. Because of security restrictions, the framework always opts links to external domains out of the Ajax behavior.</p>
+ <p>In version 1.1, we've added support for using <code>data-ajax="false"</code> on a parent container which allows you to excluded a large number of links from the Ajax navigation system. This avoids the need to add this attribute to every link in a container.</p>
<p>Note: When building a jQuery Mobile application where the Ajax navigation system is disabled globally or frequently disabled on individual links, we recommend disabling the <code>$.mobile.pushStateEnabled</code> global <a href="../api/globalconfig.html">configuration option</a> to avoid inconsistent navigation behavior in some browsers.</p>

0 comments on commit dfccb1d

Please sign in to comment.