aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-08-27 15:20:50 -0700
committerMark Otto <[email protected]>2012-08-27 15:20:50 -0700
commitb444582ccdc8c4f0e4c21357d41498cd46532a70 (patch)
tree803aa3036a9ae30726bee8a724c9337567a3ed69 /docs/javascript.html
parent8610fd9b2b0ad4ac8ca5ae6aa092f48968dd8c74 (diff)
downloadbootstrap-b444582ccdc8c4f0e4c21357d41498cd46532a70.tar.xz
bootstrap-b444582ccdc8c4f0e4c21357d41498cd46532a70.zip
fixes #4671: mention collapsing parents in docs for affix plugin
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index c09d19f23..ffe530280 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -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>