我正在尝试使用引导程序实现模式。当我单击按钮时,屏幕会淡出并出现模式,但它出现在图像后面并且用户无法阅读。如何使模态向前发展?
<div class ="container-fluid">
<div class = "row-fluid">
<div class = "span2">
<!-- Modal -->
<div class="modal hide fade" id="myModal">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<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>
<a data-toggle="modal" href="#myModal" class="btn btn-primary">Launch demo modal</a>
</div>
<div class = "span8">
#a lot of images in this div
</div>
</div>
</div>