本文介绍了为什么dismissable警报不被解雇?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要建一个应用程序的角度JS和引导。
I'm building an app in Angular JS and Bootstrap.
输入一些细节,看看结果。这里是点击在十字架上的时候不被解雇的结果页面上的dismissable警报。
Enter some details and look at the results. There is a dismissable alert on the results page that is not being dismissed when the cross is clicked on.
我基本上是从
<div class="alert alert-info alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<span class="glyphicon glyphicon-info-sign"></span> This number represents who you are at birth and the native traits that you will carry with you through life. The most important number that will be discussed here is your Life Path number. The Life Path describes the nature of this journey through life.
</div>
任何人都知道为什么它没有被驳回,我的网站?
Anyone know why it isn't being dismissed on my site?
推荐答案
您只包括了引导CSS,但对于dismissable功能(和许多在引导其他功能),您还需要包含js文件。
You have only included the Bootstrap css, but for the dismissable functionality (and lots of other functionality in Bootstrap) you also need to include the js file.
这篇关于为什么dismissable警报不被解雇?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!