diff options
| author | Mark Otto <[email protected]> | 2013-09-01 14:59:34 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-09-01 14:59:34 -0700 |
| commit | f69da1c2ef2717d791fbcdafae78c37b813a6e0c (patch) | |
| tree | bbaadddbcd61b0c2a0ad7a20308e801a70e4930f /javascript.html | |
| parent | 741e0fc52cf00989437053657798362ae02a093d (diff) | |
| parent | d2e1fef34ac887937007e3459ec06c91c8b04ee6 (diff) | |
| download | bootstrap-f69da1c2ef2717d791fbcdafae78c37b813a6e0c.tar.xz bootstrap-f69da1c2ef2717d791fbcdafae78c37b813a6e0c.zip | |
Merge pull request #10342 from twbs/affix-docs
minor improvements to affix docs
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript.html b/javascript.html index 6aca121e4..496480085 100644 --- a/javascript.html +++ b/javascript.html @@ -1899,8 +1899,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> |
