目录树里的链接怎么还是在目录树里显示,没在整个网页中间
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="left.aspx.cs" Inherits="pages_left" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="; charset=utf-8" />
<title>JS树型菜单</title>
<script language="javascript" src="1.js"></script>
<script type="text/javascript">
var myMenu;
window.onload = function() {
myMenu = new SDMenu("my_menu");
myMenu.init();
};
</script>
<style type="text/css">
html,body{
height:100%;
margin:0;
font-size:12px;
}
span{
background:#F0DFBE;
border:1px solid #ffffff;
border-left:6px solid #F2A31B;
width:228px;
height:23px;
display:block;
line-height:23px;
padding-left:20px;
}
a{
padding:3px 0 3px 40px;
display:block;
color:#636363;
}
#my_menu{
width:255px;
background:#F7F2E4;
height:100%;
}
div.sdmenu div.collapsed {
height: 25px;
}
div.sdmenu div{
overflow: hidden;
}
</style>
</head>
<body>
<div style="float:left" id="my_menu" class="sdmenu">
<div>
<span>学员管理</span>
<a href="../student/manager.aspx",>> 学员信息管理,</a>
<a href="#">> 报表输出</a>
</div>
<div>
<span>课程管理</span>
<a href="#">> 课程信息管理</a>
<a href="#">> 学员选课管理</a>
</div>
<div>
<span>系统管理</span>
<a href="#">> 专业管理</a>
<a href="#">> 用户管理</a>
<a href="#">> 菜单三子内容</a>
</div>
<div>
<span>其他</span>
<a href="#">> 菜单三子内容</a>
<a href="#">> 菜单三子内容</a>
<a href="#">> 菜单三子内容</a>
</div>
</div>
</body>
</html>
------解决方案--------------------HTML code
<a target="这里写中间的frame的name" href="../student/manager.aspx",> 学员信息管理</a>
------解决方案--------------------
<A href="admin_setting.asp" target=main>基本设置</A>
target 是你显示frame的位置名称
------解决方案--------------------
CSS code
div.sdmenu div{
overflow: hidden;
}
因为被你的样式给隐藏了
------解决方案--------------------