From 4ec13704d27a0138a90a59e766ce72702c5491c0 Mon Sep 17 00:00:00 2001 From: kostyatretyak Date: Fri, 6 Dec 2013 02:03:35 +0200 Subject: [PATCH] Fixed another small error --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript.html b/javascript.html index dcc2a1e84c..9557ca623d 100644 --- a/javascript.html +++ b/javascript.html @@ -1941,7 +1941,7 @@ $('#myCarousel').on('slide.bs.carousel', function () {
  1. To start, the plugin adds .affix-top to indicate the element is in it's top-most position. At this point no CSS positioning is required.
  2. Scrolling past the element you want affixed should trigger the actual affixing. This is where .affix replaces .affix-top and sets position: fixed; (provided by Bootstrap's code CSS).
  3. -
  4. If a bottom offset is defined, scrolling past that should replace .affix with .affix-bottom. Since offsets are optional, setting one requires you to set the appropriate CSS. In this case, add position: absolute; when necessary. The plugin uses the data attribute or JavaScript option to determine where to position the elemtn from there.
  5. +
  6. If a bottom offset is defined, scrolling past that should replace .affix with .affix-bottom. Since offsets are optional, setting one requires you to set the appropriate CSS. In this case, add position: absolute; when necessary. The plugin uses the data attribute or JavaScript option to determine where to position the element from there.

Follow the above steps to set your CSS for either of the usage options below.

-- 2.47.2