aboutsummaryrefslogtreecommitdiff
path: root/javascript.html
diff options
context:
space:
mode:
authorkostyatretyak <[email protected]>2013-12-06 02:03:35 +0200
committerkostyatretyak <[email protected]>2013-12-06 02:03:35 +0200
commit4ec13704d27a0138a90a59e766ce72702c5491c0 (patch)
tree7669612999f3fe3f12293ae3cc7d6389c7de5e27 /javascript.html
parent3ae7e0afe9c05dff74f69980d4ae39d3bb8af58b (diff)
downloadbootstrap-4ec13704d27a0138a90a59e766ce72702c5491c0.tar.xz
bootstrap-4ec13704d27a0138a90a59e766ce72702c5491c0.zip
Fixed another small error
Diffstat (limited to 'javascript.html')
-rw-r--r--javascript.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html b/javascript.html
index dcc2a1e84..9557ca623 100644
--- a/javascript.html
+++ b/javascript.html
@@ -1941,7 +1941,7 @@ $('#myCarousel').on('slide.bs.carousel', function () {
<ol>
<li>To start, the plugin adds <code>.affix-top</code> to indicate the element is in it's top-most position. At this point no CSS positioning is required.</li>
<li>Scrolling past the element you want affixed should trigger the actual affixing. This is where <code>.affix</code> replaces <code>.affix-top</code> and sets <code>position: fixed;</code> (provided by Bootstrap's code CSS).</li>
- <li>If a bottom offset is defined, scrolling past that should replace <code>.affix</code> with <code>.affix-bottom</code>. Since offsets are optional, setting one requires you to set the appropriate CSS. In this case, add <code>position: absolute;</code> when necessary. The plugin uses the data attribute or JavaScript option to determine where to position the elemtn from there.</li>
+ <li>If a bottom offset is defined, scrolling past that should replace <code>.affix</code> with <code>.affix-bottom</code>. Since offsets are optional, setting one requires you to set the appropriate CSS. In this case, add <code>position: absolute;</code> when necessary. The plugin uses the data attribute or JavaScript option to determine where to position the element from there.</li>
</ol>
<p>Follow the above steps to set your CSS for either of the usage options below.</p>