<link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin/plugin/overhang.min.css" />
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<script src="/js/jquery.min.1.8.2.js"></script>
<script src="${pageContext.request.contextPath}/js/jquery-ui.js" type="text/javascript"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/admin/plugin/overhang.min.js" />
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script>
$(document).ready(function(){
/*菜单栏点击事件*/
$(".nav li").click(function() {
$(".active").removeClass('active');
$(this).addClass("active");
$(".collapse.in").collapse("hide"); /*在bootstrap中折叠框的展开是由.in类修饰的,所以有.in类的必定是经过点击*/
});
});
</script>
是js冲突的问题吗,如何解决
慕的地10843
慕工程0101907
相关分类