left页
<script language="javascript" type="text/javascript">
function window_load(){
document.getElementById("resizediv").style.height=document.body.clientHeight;
document.getElementById("resizediv").style.left= 0 //document.body.clientWidth - 6;
document.getElementById("resizediv").style.display= '';
}
function resizediv_onClick(){
if (document.getElementById("resizediv").className == "collapse"){
top.document.getElementsByTagName('FRAMESET')[1].cols = "7,*";
document.getElementById("resizediv").className = "expand";
}
else{
top.document.getElementsByTagName('FRAMESET')[1].cols = "210,*";
document.getElementById("resizediv").className = "collapse";
}
}
$(document).ready(function(){
$(".l1").toggle(function(){
$(".slist").animate({height: 'toggle', opacity: 'hide'}, "slow");
$(this).next(".slist").animate({height: 'toggle', opacity: 'toggle'}, "slow");
},function(){
$(".slist").animate({height: 'toggle', opacity: 'hide'}, "slow");
// $(this).next(".slist").animate({height: 'toggle', opacity: 'toggle'}, "slow");
});
$(".l2").toggle(function(){
$(this).next(".sslist").animate({height: 'toggle', opacity: 'toggle'}, "slow");
},function(){
$(this).next(".sslist").animate({height: 'toggle', opacity: 'toggle'}, "slow");
});
$(".l2").click(function(){
$(".l3").removeClass("currentl3");
$(".l2").removeClass("currentl2");
$(this).addClass("currentl2");
});
$(".l3").click(function(){
$(".l3").removeClass("currentl3");
$(this).addClass("currentl3");
});
$(".close").toggle(function(){
$(".slist").animate({height: 'toggle', opacity: 'hide'}, "fast");
$(".sslist").animate({height: 'toggle', opacity: 'hide'}, "fast");
},function(){
$(".slist").animate({height: 'toggle', opacity: 'show'}, "fast");
$(".sslist").animate({height: 'toggle', opacity: 'show'}, "fast");
});
});
</script>
</head>
<body onresize="window_load();" style="BACKGROUND: #b1bdcb; MARGIN: 0px" onload="window_load();">
<div class="collapse" id="resizediv" onmouseover="this.style.backgroundColor = '#D2D1D3';"
title="打开/关闭导航" style="DISPLAY: none; CURSOR: pointer" onclick="resizediv_onClick()"
onmouseout="this.style.backgroundColor = '';"></div>
<h1 class="title"><span class="close">全部收起/展开</span>后台管理</h1>
<div class="menu">
<form id="frm" runat="server" action="Login.aspx" target="_top">
<h1 class="l1">招聘系统管理</h1>
<div class="slist">
<h2 class="l2"><a href="JobZp.aspx" target="right" >应聘信息管理</a></h2>
<h2 class="l2"><a href="Job.aspx" target="right">招聘信息管理</a></h2>
<h2 class="l2"><asp:LinkButton ID="lbtnTc" runat="server" OnClientClick="return confirm('确定退出管理系统么?')" onclick="LinkButton1_Click">退出</asp:LinkButton></h2>
</div>
<h1 class="l1">超级管理员</h1>
<div class="slist">
<h2 class="l2"><a href="Addadmin.aspx" target="right">添加管理员</a></h2>
<h2 class="l2"><a href="Modifyadmin.aspx" target="right">修改信息</a></h2>
<h2 class="l2"><a href="Detailadmin.aspx" target="right">管理员列表</a></h2>
<h2 class="l2"><a href="Systeminf.aspx" target="right">系统信息</a></h2>
</div>
</form>
</div></body>主框架页
<frameset rows="5%,95%"; frameborder="no">
<frame src="Top.aspx" scrolling="no"><frameset cols="20%,*"; frameborder="no">
<frame src="Leftmanu.aspx" name="left" scrolling="no" noresize="noresize">
<frame src="Systeminf.aspx" name="right" frameborder="no"></frameset>
</frameset>
<noframes>
<body>
对不起,本页面使用了框架!你的浏览器不支持!
</body>
</noframes>
left页加上那段Jquery后 在主框架页点击就不会跳转页面了具体是哪里冲突了 求大神指教....
<script language="javascript" type="text/javascript">
function window_load(){
document.getElementById("resizediv").style.height=document.body.clientHeight;
document.getElementById("resizediv").style.left= 0 //document.body.clientWidth - 6;
document.getElementById("resizediv").style.display= '';
}
function resizediv_onClick(){
if (document.getElementById("resizediv").className == "collapse"){
top.document.getElementsByTagName('FRAMESET')[1].cols = "7,*";
document.getElementById("resizediv").className = "expand";
}
else{
top.document.getElementsByTagName('FRAMESET')[1].cols = "210,*";
document.getElementById("resizediv").className = "collapse";
}
}
$(document).ready(function(){
$(".l1").toggle(function(){
$(".slist").animate({height: 'toggle', opacity: 'hide'}, "slow");
$(this).next(".slist").animate({height: 'toggle', opacity: 'toggle'}, "slow");
},function(){
$(".slist").animate({height: 'toggle', opacity: 'hide'}, "slow");
// $(this).next(".slist").animate({height: 'toggle', opacity: 'toggle'}, "slow");
});
$(".l2").toggle(function(){
$(this).next(".sslist").animate({height: 'toggle', opacity: 'toggle'}, "slow");
},function(){
$(this).next(".sslist").animate({height: 'toggle', opacity: 'toggle'}, "slow");
});
$(".l2").click(function(){
$(".l3").removeClass("currentl3");
$(".l2").removeClass("currentl2");
$(this).addClass("currentl2");
});
$(".l3").click(function(){
$(".l3").removeClass("currentl3");
$(this).addClass("currentl3");
});
$(".close").toggle(function(){
$(".slist").animate({height: 'toggle', opacity: 'hide'}, "fast");
$(".sslist").animate({height: 'toggle', opacity: 'hide'}, "fast");
},function(){
$(".slist").animate({height: 'toggle', opacity: 'show'}, "fast");
$(".sslist").animate({height: 'toggle', opacity: 'show'}, "fast");
});
});
</script>
</head>
<body onresize="window_load();" style="BACKGROUND: #b1bdcb; MARGIN: 0px" onload="window_load();">
<div class="collapse" id="resizediv" onmouseover="this.style.backgroundColor = '#D2D1D3';"
title="打开/关闭导航" style="DISPLAY: none; CURSOR: pointer" onclick="resizediv_onClick()"
onmouseout="this.style.backgroundColor = '';"></div>
<h1 class="title"><span class="close">全部收起/展开</span>后台管理</h1>
<div class="menu">
<form id="frm" runat="server" action="Login.aspx" target="_top">
<h1 class="l1">招聘系统管理</h1>
<div class="slist">
<h2 class="l2"><a href="JobZp.aspx" target="right" >应聘信息管理</a></h2>
<h2 class="l2"><a href="Job.aspx" target="right">招聘信息管理</a></h2>
<h2 class="l2"><asp:LinkButton ID="lbtnTc" runat="server" OnClientClick="return confirm('确定退出管理系统么?')" onclick="LinkButton1_Click">退出</asp:LinkButton></h2>
</div>
<h1 class="l1">超级管理员</h1>
<div class="slist">
<h2 class="l2"><a href="Addadmin.aspx" target="right">添加管理员</a></h2>
<h2 class="l2"><a href="Modifyadmin.aspx" target="right">修改信息</a></h2>
<h2 class="l2"><a href="Detailadmin.aspx" target="right">管理员列表</a></h2>
<h2 class="l2"><a href="Systeminf.aspx" target="right">系统信息</a></h2>
</div>
</form>
</div></body>主框架页
<frameset rows="5%,95%"; frameborder="no">
<frame src="Top.aspx" scrolling="no"><frameset cols="20%,*"; frameborder="no">
<frame src="Leftmanu.aspx" name="left" scrolling="no" noresize="noresize">
<frame src="Systeminf.aspx" name="right" frameborder="no"></frameset>
</frameset>
<noframes>
<body>
对不起,本页面使用了框架!你的浏览器不支持!
</body>
</noframes>
left页加上那段Jquery后 在主框架页点击就不会跳转页面了具体是哪里冲突了 求大神指教....
我就是想知道哪里冲突了