2013-03-23 77 views
0

每当我调整页面大小时,Bootstrap模式突然消失。我已经google了这个,通常情况下,如果你包含bootstrap.js和bootstrap-modal.js,就会发生这种情况。但是,我没有包含bootstrap-modal.js。另外,如果我的屏幕相当大,模式工作正常。只有当我将它调整到模态消失的更小尺寸时。Bootstrap模式在调整大小时消失

这里是我的包括:

<script src="resources/scripts/jquery-1.8.3.js"></script> 
<script src="resources/scripts/jquery-ui-1.9.2.custom.js"></script> 
<script src="resources/scripts/bootstrap.js"></script> 
<script src="resources/scripts/jquery.complexify.js"></script> 
<script src="resources/scripts/jquery.jeditable.js"></script> 
<script src="resources/scripts/bootstrap-tagmanager.js"></script> 
<script src="resources/scripts/jquery.dataTables.min.js"></script> 

<link rel="stylesheet" href="resources/styles/bootstrap.css" type="text/css"/> 
<link rel="stylesheet" href="resources/styles/bootstrap-responsive.min.css" type="text/css"/> 
<link rel="stylesheet" href="resources/styles/jquery.fileupload-ui.css" type="text/css"/> 
<link rel="stylesheet" href="resources/styles/bootstrap-tagmanager.css" type="text/css"/> 
<link rel="stylesheet" href="resources/styles/jquery.dataTables.css" type="text/css"/> 

回答

2

对不起,请不要介意。我注意到你应该在 <div class="container"></div>中包含模态,它只能在调整大小的情况下工作。我已经把它包括在外面了。

相关问题