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 () {
- 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.