<div class="modal hide" id="modalId">
<div class="modal-header" style="padding:30px 10px">
<h3 style="float:left">Some text here</h3>
<input type="image" src="image_path" alt="loading..." class="pull-right" />
</div>
<div class="modal-body" style="clear:both">
<!-- I have a table here-->
</div>
<div class="modal-footer">
<!-- I have a button here -->
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
将在按钮单击时调用的模态代码
$('#modalId').modal({
backdrop: 'static',
keyboard: false,
show: true
});
Run Code Online (Sandbox Code Playgroud)
这里我遇到的问题是,在模态弹出窗口中出现黑色窗口.
这在firefox,IE 8中完美运行,但在IE7中没有.
我尝试了很多,但在这里找不到问题.:(可以请一些人看看.thubjsdaps14