我在引导程序中创建了一个静态弹出窗口,但它不起作用
一些html代码:
<div class="container row-fluid" >
<div class="span8 offset2">
<div class="hero-unit">
<h1 class="hidden-phone">Heading</h1>
<div class="row-fluid">
<div class="span5" style="margin-top:30px;">
<div class="popover left" id="welcome">
<div class="arrow"></div>
<h3 class="popover-title">To ALL:</h3>
<div class="popover-content">
<p>count and</p>
<p>。。。</p>
</div>
</div>
</div>
<div class="span6">
<img src="img/welcome/1.jpg" class="img-circle img-polaroid pull-right hidden-phone" />
</div>
</div>
<a class="btn btn-primary btn-large" href="#">TEST NOW!</a>
</div>
</div>
我所有的js代码:
$('#welcome').popover();