2楼的找死
3楼的找碴
单凭html能做得出目录树的功能吗?!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<style>
/* Style for tree item text */
.t0i {
font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
background-color: #ffffff;
text-decoration: none;
font-weight: normal;
}
/* Style for tree item image */
.t0im {
border: 0px;
width: 19px;
height: 16px;
}
</style>
<title>Designer Tree</title>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<script language="JavaScript" src="tree.js"></script>
<script language="JavaScript" src="tree_items.js"></script>
<script language="JavaScript" src="tree_tpl.js"></script>
<script language="JavaScript">
new tree (TREE_ITEMS, tree_tpl);
for(i = 0; i < trees[0].a_children[0].a_children.length; i++){
trees[0].a_children[0].a_children[i].open(i == 8 || i == 9 || i == 10 || i == 12 || i == 13);
}
trees[0].a_children[0].select();
</script>
</td>
</tr>
</table>
</body>
</html>