Twitter bootstrap 使用引导时,如何在导航栏中放置警报?
我正在研究bootstrap,并使用以下示例构建一个站点:Twitter bootstrap 使用引导时,如何在导航栏中放置警报?,twitter-bootstrap,Twitter Bootstrap,我正在研究bootstrap,并使用以下示例构建一个站点:http://twitter.github.com/bootstrap/examples/hero.html 我想在导航栏中显示警报。我如何才能做到这一点?为此使用下拉导航 检查此项, 谢谢,这取决于你想要什么。您可以使用显示短消息或通知数量,并带有指向单独页面的链接。或者您可以附加或附加到它。例如 <a href="#" data-html="true" data-placement="bottom" da
http://twitter.github.com/bootstrap/examples/hero.html
我想在导航栏中显示警报。我如何才能做到这一点?为此使用下拉导航 检查此项,
谢谢,这取决于你想要什么。您可以使用显示短消息或通知数量,并带有指向单独页面的链接。或者您可以附加或附加到它。例如
<a href="#"
data-html="true"
data-placement="bottom"
data-toggle="popover"
data-content="Notification 1<br/>Notification 2"
data-original-title="Notifications">
<span class="badge badge-success">2</span> Notifications
</a>
关于如何在“汉堡包”/“图标栏”部分添加通知,您有什么想法吗?这样,用户无需单击图标栏即可知道存在警报。