2012-11-16 69 views
0

我想按照第一個例子,統計對話框顯示一個twitter引導模態對話框。Twitter作爲對話框從HTML引導模態?

http://twitter.github.com/bootstrap/javascript.html#modals

不過,我希望它的狀態表明它是一個模式對話框(塗黑scnks.reen)

它似乎並不在默認情況下做到這一點,我無法弄清楚要包含哪些屬性或類別?

感謝

<div class="modal hide fade"> 
    <div class="modal-header"> 
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> 
    <h3>Modal header</h3> 
    </div> 
    <div class="modal-body"> 
    <p>One fine body…</p> 
    </div> 
    <div class="modal-footer"> 
    <a href="#" class="btn">Close</a> 
    <a href="#" class="btn btn-primary">Save changes</a> 
    </div> 
</div> 

回答

0

添加<div class="modal-backdrop fade in"></div>頁面顯示/與模態對話框

隱藏