求大神指导为什么没有出现collapse折叠效果
<navclass="navbar"><divclass="navbar-header"><buttontype="button"class="navbar-toggle...
<nav class="navbar">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="#" class="navbar-brand">
<span>
<img src="imgs/images/AboutUs_CompanyProfile_03.gif" /></span>
<span>
<img src="imgs/images/AboutUs_CompanyProfile_21.gif" /></span>
</a>
</div>
<!--设置导航折叠-->
<div class="collapse navbar-collapse" id="navbar-collapse-1">
<ul class="nav navbar-nav navbar-left">
<li><a href="Home.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_06.gif" /></a></li>
<li><a href="AboutUs_CompanyProfile.aspx" class="active">
<img src="imgs/images/AboutUs_CompanyProfile_08.gif" /></a></li>
<li><a href="ProjectDisplay.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_10.gif" /></a></li>
<li><a href="CompanyNews.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_12.gif" /></a></li>
<li><a href="AcademicTrends.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_14.gif" /></a></li>
<li><a href="AssociatedAgency.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_16.gif" /></a></li>
<li><a href="TalentTraning.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_18.gif" /></a></li>
</ul>
<!--搜索区-->
<div class="navbar-form navbar-right" role="search">
<div class="form-group">
<input type="text" />
</div>
<!--搜索图标为button样式-->
<button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
</div>
</div>
</nav> 展开
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="#" class="navbar-brand">
<span>
<img src="imgs/images/AboutUs_CompanyProfile_03.gif" /></span>
<span>
<img src="imgs/images/AboutUs_CompanyProfile_21.gif" /></span>
</a>
</div>
<!--设置导航折叠-->
<div class="collapse navbar-collapse" id="navbar-collapse-1">
<ul class="nav navbar-nav navbar-left">
<li><a href="Home.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_06.gif" /></a></li>
<li><a href="AboutUs_CompanyProfile.aspx" class="active">
<img src="imgs/images/AboutUs_CompanyProfile_08.gif" /></a></li>
<li><a href="ProjectDisplay.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_10.gif" /></a></li>
<li><a href="CompanyNews.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_12.gif" /></a></li>
<li><a href="AcademicTrends.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_14.gif" /></a></li>
<li><a href="AssociatedAgency.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_16.gif" /></a></li>
<li><a href="TalentTraning.aspx">
<img src="imgs/images/AboutUs_CompanyProfile_18.gif" /></a></li>
</ul>
<!--搜索区-->
<div class="navbar-form navbar-right" role="search">
<div class="form-group">
<input type="text" />
</div>
<!--搜索图标为button样式-->
<button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
</div>
</div>
</nav> 展开
1个回答
2017-04-23
展开全部
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header" data-toggle="collapse" data-target="#myCollapse">
<button class="navbar-toggle">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="#" class="navbar-brand">少年WEB工作室</a>
</div>
<div class="collapse navbar-collapse" id="myCollapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">首页</a></li>
<li><a href="#">产品展览</a></li>
<li><a href="#">产品介绍</a></li>
<li><a href="#">联系我们</a></li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="navbar-header" data-toggle="collapse" data-target="#myCollapse">
<button class="navbar-toggle">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="#" class="navbar-brand">少年WEB工作室</a>
</div>
<div class="collapse navbar-collapse" id="myCollapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#">首页</a></li>
<li><a href="#">产品展览</a></li>
<li><a href="#">产品介绍</a></li>
<li><a href="#">联系我们</a></li>
</ul>
</div>
</div>
</nav>
金万码科技
2024-08-21 广告
2024-08-21 广告
巡更棒的设置涉及以下步骤:1. **巡更棒的初始化:在初次使用巡更棒时,需要配合管理软件进行初始化运行。首先开机并通过USB通信线连接到计算机上,使用巡更管理软件将巡检的人员信息和参数传输至巡更棒里面。2. 设置人员钮信息:巡更棒初始化后,...
点击进入详情页
本回答由金万码科技提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询