我嘗試使用modal
插件,但沒有效果。我看到了代碼,該位置沒問題。所以在我的代碼中有一些東西,但是我看到了turtal。所以幫助我,給我一些建議。爲什麼我的引導程序無法工作
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link media="all" rel="stylesheet" href="docs/assets/css/bootstrap.css" type="text/css" />
<link media="all" rel="stylesheet" href="docs/assets/css/bootstrap-responsive.css" type="text/css" />
<script src="sgsheg/jquery-1.10.0.min.js" type="text/javascript"></script>
<script src="sgsheg/bootstrap.min.js" type="text/javascript"></script>
<script src="js/bootstrap-modal.js" type="text/javascript"></script>
</head>
<body>
<div class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="model" aria-hidden="true" >×</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>
</body>
</html>
究竟是什麼錯誤?你的例子似乎很好。你忘了在你的「關閉」和「保存更改」按鈕上放置'data-dismiss =「modal」'?請注意,您在「x」關閉按鈕 – Ian
「但我看到的turtal」上拼寫錯了'data-dismiss =「model」'。你看到烏龜? – j08691
@ j08691:重新標記爲[標識](http://stackoverflow.com/tags/logo)的問題? –