From d2e1fef34ac887937007e3459ec06c91c8b04ee6 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 1 Sep 2013 02:09:12 -0700 Subject: [PATCH] minor improvements to affix docs --- javascript.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript.html b/javascript.html index 48aaf2cd9f..e104327fbe 100644 --- a/javascript.html +++ b/javascript.html @@ -1894,8 +1894,8 @@ $('#myCarousel').on('slide.bs.carousel', function () {

Requires independent styling ;)

- Affix toggles between three states/classes: affix, affix-top, and affix-bottom. You must provide the styles for these classes yourself (independent of this plugin). - The affix-top class should be in the regular flow of the document. The affix class should be fixed to the page. And affix-bottom should be positioned absolute. Note, affix-bottom is special in that the plugin will place the element with JS relative to the offset: { bottom: number } option you've provided. + Affix toggles between three states/classes: .affix, .affix-top, and .affix-bottom. You must provide the styles for these classes yourself (independent of this plugin). + The .affix-top class should be in the regular flow of the document. The .affix class should be position: fixed. And .affix-bottom should be position: absolute. Note: .affix-bottom is special in that the plugin will place the element with JS relative to the offset: { bottom: number } option you've provided.