我遇到了 bootstrap.js-IE9 问题。当我的页面在 IE9 中加载时,它一目了然。使用开发工具强制 IE9 进入 Compability 模式可以解决问题。但是,没有它也应该可以工作。
您可以在我的迷你应用程序中进行测试。
正如您在代码中看到的那样,该页面相当简单,还没有任何奇特的功能:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="/resources/css/main.css"/>
<link rel="stylesheet" type="text/css" href="/resources/css/bootstrap.min.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Welkom bij STT!</title>
<script src="/resources/js/jquery-1.9.1.min.js"></script>
<script src="/resources/js/bootstrap.min.js"></script>
</head>
<body>
<div id="main" class="container">
<div class="row" >
<div class="span1"><span><img src="" alt="Logo" title="Logo"/></span></div>
<div id="registration" class="span2 btn disabled ">registreer</div>
<div id="accounting" class="span2 btn disabled ">accounting</div>
<div id="reporting" class="span2 btn disabled ">rapportage</div>
<div class="span2"></div>
<div class="span3"><span>Welcome Jurgen Goossens</span></div>
</div>
<div class="row">
<div class="span8 well">welkom bij STT!</div>
<div class="span4"></div>
</div>
<div class="row">
<div class="span1"></div>
<div id="customers" class="span2 btn "><a href="/customer/">klanten</a></div>
<div id="performance" class="span2 btn "><a href="/tasktype/">taken</a></div>
<div id="users" class="span2 btn "><a href="/user/">gebruikers</a></div>
<div class="span5"></div>
</div>
</div>
</body>
</html>
有谁知道这与什么有关?