diff options
| author | Chris Rebert <[email protected]> | 2013-09-01 02:09:12 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-09-01 02:09:12 -0700 |
| commit | d2e1fef34ac887937007e3459ec06c91c8b04ee6 (patch) | |
| tree | 2256d20d40eb9d75d895714a6bc973360d21b844 | |
| parent | 604c3b2efca306151181d2c13353721a84349da4 (diff) | |
| download | bootstrap-d2e1fef34ac887937007e3459ec06c91c8b04ee6.tar.xz bootstrap-d2e1fef34ac887937007e3459ec06c91c8b04ee6.zip | |
minor improvements to affix docs
| -rw-r--r-- | javascript.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript.html b/javascript.html index 48aaf2cd9..e104327fb 100644 --- a/javascript.html +++ b/javascript.html @@ -1894,8 +1894,8 @@ $('#myCarousel').on('slide.bs.carousel', function () { <div class="bs-callout bs-callout-warning"> <h4>Requires independent styling ;)</h4> <p> - Affix toggles between three states/classes: <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. You must provide the styles for these classes yourself (independent of this plugin). - The <code>affix-top</code> class should be in the regular flow of the document. The <code>affix</code> class should be fixed to the page. And <code>affix-bottom</code> should be positioned absolute. Note, <code>affix-bottom</code> is special in that the plugin will place the element with JS relative to the <code>offset: { bottom: number }</code> option you've provided. + Affix toggles between three states/classes: <code>.affix</code>, <code>.affix-top</code>, and <code>.affix-bottom</code>. You must provide the styles for these classes yourself (independent of this plugin). + The <code>.affix-top</code> class should be in the regular flow of the document. The <code>.affix</code> class should be <code>position: fixed</code>. And <code>.affix-bottom</code> should be <code>position: absolute</code>. Note: <code>.affix-bottom</code> is special in that the plugin will place the element with JS relative to the <code>offset: { bottom: number }</code> option you've provided. </p> </div> |
