请问用js的手风琴效果 为什么没有效果..
body<!DOCTYPEhtml><html><head><title></title><linkrel="stylesheet"type="text/css"href...
body
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="bootstrap.css">
<script language="javascript" type="text/javascript" src="bootstrap.js"></script>
<script language="javascript" type="text/javascript" src="transition.js"></script>
<script language="javascript" type="text/javascript" src="jquery.min.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
<div class="accordion" id="accordion-600951">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-parent="#accordion-600951" data-toggle="collapse" href="#accordion-element-494414">选项卡 #1</a>
</div>
<div class="accordion-body collapse" id="accordion-element-494414">
<div class="accordion-inner">
功能块1
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-parent="#accordion-600951" data-toggle="collapse" href="#accordion-element-756714">选项卡 #2</a>
</div>
<div class="accordion-body in collapse" id="accordion-element-756714">
<div class="accordion-inner">
功能块2
</div>
<div class="accordion-inner">
功能块2.5
</div>
</div>
</div>
</div>
</div>
<div class="span10">
</div>
</div>
</div>
</body>
</html>
body里的代码是用bootstrap可视化工具生成的 在可视化操作时有效果 但这样创建网页后就没效果 要导入的css和js都和html在同一个文件夹里 是我导入的顺序出错了吗 还是导错文件了?
顺序换成
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
<script language="javascript" type="text/javascript" src="jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="bootstrap.min.js"></script>
<script language="javascript" type="text/javascript" src="transition.js"></script>
还是不行 展开
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="bootstrap.css">
<script language="javascript" type="text/javascript" src="bootstrap.js"></script>
<script language="javascript" type="text/javascript" src="transition.js"></script>
<script language="javascript" type="text/javascript" src="jquery.min.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
<div class="accordion" id="accordion-600951">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-parent="#accordion-600951" data-toggle="collapse" href="#accordion-element-494414">选项卡 #1</a>
</div>
<div class="accordion-body collapse" id="accordion-element-494414">
<div class="accordion-inner">
功能块1
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-parent="#accordion-600951" data-toggle="collapse" href="#accordion-element-756714">选项卡 #2</a>
</div>
<div class="accordion-body in collapse" id="accordion-element-756714">
<div class="accordion-inner">
功能块2
</div>
<div class="accordion-inner">
功能块2.5
</div>
</div>
</div>
</div>
</div>
<div class="span10">
</div>
</div>
</div>
</body>
</html>
body里的代码是用bootstrap可视化工具生成的 在可视化操作时有效果 但这样创建网页后就没效果 要导入的css和js都和html在同一个文件夹里 是我导入的顺序出错了吗 还是导错文件了?
顺序换成
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
<script language="javascript" type="text/javascript" src="jquery.min.js"></script>
<script language="javascript" type="text/javascript" src="bootstrap.min.js"></script>
<script language="javascript" type="text/javascript" src="transition.js"></script>
还是不行 展开
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询