From: Chris Rebert Date: Sun, 1 Sep 2013 09:09:12 +0000 (-0700) Subject: minor improvements to affix docs X-Git-Tag: v3.0.1~88^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2e1fef34ac887937007e3459ec06c91c8b04ee6;p=thirdparty%2Fbootstrap.git minor improvements to affix docs --- 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.