<head>
<title>后台左侧导航页面</title>
<style type="text/css">
.dc {
display: none;
margin-left: 10px;
}
</style>
<script language="javascript">
function test(e) {
e.style.display = e.style.display == 'block' ? 'none' : 'block' ;
}
</script>
</head>
<body>
<ul>
<li>
<a href="#" onclick="test(cnm)">分类管理
<div id=cnm class="dc">
<a href="${pageContext.request.contextPath }/manager/addcategory.jsp" target="right">添加分类</a><br/>
<a href="${pageContext.request.contextPath }/manager/ListCategoryServlet" target="right">查看分类</a><br/>
</div>
</a>
</li>
<a href="#" onclick="___test(children[0])___">分类管理
<div class="dc">
<a href="${pageContext.request.contextPath }/manager/addcategory.jsp" target="right">添加分类</a><br/>
<a href="${pageContext.request.contextPath }/manager/ListCategoryServlet" target="right">查看分类</a><br/>
</div>