显示bootsrap pops外的divs溢出:隐藏

Ste*_*ieF 22 css popover twitter-bootstrap

我有一个问题,关于如何让一个引导弹出窗口显示在滑块上方(外部),它有一个溢出的包装:隐藏,我似乎无法绕过.

我正在使用这个滑块:http ://owlgraphic.com/owlcarousel/我也在使用Twitter bootstrap 2.3.2 popovers:http://getbootstrap.com/2.3.2/javascript.html#popovers

除了溢出之外,两者都能很好地协同工作:隐藏在轮播上,类似于这样的问题: Bootstrap 2.2.1中的弹出窗口 https://github.com/twbs/bootstrap/issues/6122

我的问题具体是:有没有人得到这个工作?我已经完成了一些高度和负边距的移动以显示垂直高度,但如果弹出位于我的包裹潜水的边缘,它将在边缘被切断.如果我需要提供任何其他细节,请告诉我.

谢谢斯蒂芬

Ste*_*ieF 76

好的,所以我想出了这个.

我变了:

$('.popover-with-html').popover({ html : true, });
Run Code Online (Sandbox Code Playgroud)

至:

$('.popover-with-html').popover({ html : true, container: 'body'}); 
Run Code Online (Sandbox Code Playgroud)

它正在发挥作用.

container: 'body'
Run Code Online (Sandbox Code Playgroud)

是关键,我希望这有助于某人.

谢谢

斯蒂芬