引导模式根本不起作用 [英] bootstrap modal not working at all
问题描述
我知道这个问题之前已经被问过数百次了,我已经问过了,但这些都无法解决我的问题:s
这是我目前的代码
<link rel="stylesheet" type="text/css" href="style.css"><script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script><script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"><script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=false"></script><link href="bootstrap/js/bootstrap.min.js" rel="stylesheet" media="screen"><link href="bootstrap/js/bootstrap-modal.js" rel="stylesheet" media="screen"><link href="bootstrap/js/bootstrap-transition.js" rel="stylesheet" media="screen">
在身体内部我有这个:
<a href="#myModal" role="button" class="btn" data-toggle="modal">启动演示模式</a><div id="myModal" class="modal hidefade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h3 id="myModalLabel">模态标头</h3>
<div class="modal-body"><p>一个精致的身体……</p>
<div class="modal-footer"><button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button><button class="btn btn-primary">保存更改</button>