How to use the new affix plugin in twitter's bootstrap 2.1.0?

后端 未结 9 1622
梦谈多话
梦谈多话 2020-11-29 15:17

The bootstrap documentation on that topic is a little confusing to me. I want to achieve similar behaviour like in the docs with the affix navbar: The navbar is below a para

9条回答
  •  余生分开走
    2020-11-29 15:44

    You need to remove .affix() from your script.

    Bootstrap gives the option of accomplishing things either via data-attributes or straight JavaScript most of the time.

提交回复
热议问题