Tag: 词缀

在粘贴底部到达并向后滚动顶部后,Affix Bootstrap闪烁

我有一个小的单页面布局网站,它使用Bootstrap的Affix-Plugin来修复sidenav-affix-top / affix-switch工作正常,但如果我到达affix-bottom我有2个问题: 第一个:sidenav在第10个列表项之前被切断 第二:如果我滚动回到顶部,那么词缀底部和词缀类似于口吃。 附加底部被删除,附加添加,并在几毫秒内反过来。 标记: Wissensdatenbank Überpunkt Wissendatenbank Überall dieselbe alte Leier. Das Layout ist fertig, der Text lässt auf sich warten. Damit das Layout nun nicht nackt im Raume steht und sich klein und leer vorkommt, springe ich ein: der Blindtext. Genau zu diesem Zwecke erschaffen, immer im Schatten meines großen Bruders […]

Bootstrap Affix类跳到底部

我已经设法让scrolllspy和affix插件工作得很好,但每当用户滚动到页面底部时(如果使用一个小的浏览器窗口),词缀类开始与另一个冲突,并且词缀在状态之间跳转。 这里可以看到一个例子: http : //devng.sdss.org/results-science/ CSS是: .affix-top,.affix{ position: static; } #sidebar li.active { border:0 #eee solid; border-right-width:5px; } @media (min-width: 979px) { #sidebar.affix-top { position: static; margin-top:30px; } #sidebar.affix { position: fixed; top:70px; } #sidebar.affix-bottom { position: fixed; bottom: 400px; } } 和JS: $(‘#leftCol’).affix({ offset: { top: 235 ,bottom: 400 } }); /* activate scrollspy […]

Twitter Bootstrap贴有Navbar – 下面的div跳了起来

很难描述问题。 所以,看看这个jsFiddle: http://jsfiddle.net/xE2m7/ 当导航栏固定到顶部时,内容会跳到它下面。 CSS: .affix { position: fixed; top: 0px; } #above-top { height: 100px; background: black; } 问题出在哪儿?