1
在引導程序中看到一個示例並嘗試執行它。我在getbootstrap.com上做了同樣的事情,但是我得到的是隱藏的代碼形式。我認爲模式隱藏效果很好,但它沒有顯示該鏈接被點擊。請幫助我解決這個問題。 http://getbootstrap.com/2.3.2/javascript.html#modals使用引導程序彈出問題
<a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a>
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Modal header</h3>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary">Save changes</button>
</div>
</div>
http://jsfiddle.net/#&togetherjs=riHQAhk4mM
我假設你包括jQuery和引導js文件? – snollygolly
創建一個[fiddler](http://jsfiddle.net)請 –
對不起。我不能讓你@SLoW – Pravin