<div class="btn-group">
<button class="btn dropdown-toggle" data-toggle="dropdown"> Reviews </button>
<button class="btn dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#" id="reviewhover" rel="popover" placement="right" data-content="Reviewer:testuser is too good, too cool, too sad, too bad, too right, too wrong">testuser 2012/08/12 12:25:42:836 PM</a></li>
<li><a href="#" id="reviewhover" rel="popover" placement="right" data-content="Reviewer:testuser11 is too">testuser11 2012/08/13 12:25:42:836 PM</a></li>
</ul>
</div>
我使用bootstrap.min.js V2.0.4和jQuery 1.7.2,試圖用jQuery 1.8.0和1.7.1有相同的結果Twitter的引導酥料餅不工作
我有這個js在tbspopover.js碼 -
jQuery(function(){
$('a[rel=popover]').popover();
});
腳本命令
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script src="/vendor/bootstrap.min.js"></script>
<script src="/js/views/tbspopover.js"></script>
正常工作與引導2.0.2 - > http://jsfiddle.net/handtrix/kRLea/1/ – HaNdTriX 2012-08-14 08:10:11
是的,但我一直沒能找到一個2.0.2的下載,你可以點我一個2.0.2的源代碼 – user1447121 2012-08-14 08:34:15