]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4671: mention collapsing parents in docs for affix plugin
authorMark Otto <markotto@twitter.com>
Mon, 27 Aug 2012 22:20:50 +0000 (15:20 -0700)
committerMark Otto <markotto@twitter.com>
Mon, 27 Aug 2012 22:20:50 +0000 (15:20 -0700)
docs/javascript.html
docs/templates/pages/javascript.mustache

index c09d19f231931ed8d880c2ecd98513a594b04266..ffe530280e18097c69ef553bdc07a8896e76a34c 100644 (file)
@@ -1610,7 +1610,7 @@ $('.carousel').carousel({
 
             <div class="alert alert-info">
               <strong>Heads up!</strong>
-              It's up to you to manage the position of a pinned element. This is done by styling <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>.
+              You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.
             </div>
 
             <h3>Via JavaScript</h3>
index 2ee086847da8bdf99d8d75aa0f9052751d283ff2..b3323a37194a5f272329db57bba1d36086c77d4e 100644 (file)
@@ -1540,7 +1540,7 @@ $('.carousel').carousel({
 
             <div class="alert alert-info">
               <strong>{{_i}}Heads up!{{/i}}</strong>
-              {{_i}}It's up to you to manage the position of a pinned element. This is done by styling <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>.{{/i}}
+              {{_i}}You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.{{/i}}
             </div>
 
             <h3>{{_i}}Via JavaScript{{/i}}</h3>