我是一个相当新的rails程序员(大约一年左右),正在做我的第一个大项目。它是用haml btw写的。
下面是我的_loginaside.haml代码:
%a.btn.btn-info{"data-content" => "A larger popover to demonstrate the max-width of the Bootstrap popover.", "data-toggle" => "popover", href: "#", title: "Popover title"
我使用bootstrap的typeahead作为文本输入,它也有一个弹出流行结果弹出窗口的按钮。
有没有办法设置typeahead搜索结果的“容器”?(例如,popover小工具包含一个'container‘选项)
如下所示:
Text Field Button popover
________________________________________________________
| Search... | B | Typeahead1 Popular Searches: |
|--------------|---| Typeahe
我在Django上使用bootstrap,到目前为止一切都正常。然而,我正在尝试使用popover功能,但我总是遇到一个问题。无论何时点击我的弹出窗口,页面都会滚动回到顶部...但是弹出窗口确实出现了。下面是我的代码:
//////////<..... a lot more HTML ....>//////////
<div class="bs-docs-example">
<a href="#" class="btn btn-large btn-danger" rel="popover" title