首页 > 代码库 > 页面实现树状控件
页面实现树状控件
<!DOCTYPE html>
<html>
<head>
<title>tree.html</title>
<link rel="stylesheet" href="http://www.mamicode.com/jquery.treeview.css" />
<script src="http://www.mamicode.com/jquery.js" type="text/javascript"></script>
<script src="http://www.mamicode.com/jquery.cookie.js" type="text/javascript"></script>
<script src="http://www.mamicode.com/jquery.treeview.js" type="text/javascript"></script>
</head>
<body>
<ul id="tree">
<li style="cursor:pointer" onClick="javascript:window.open(‘My_wbj.html‘,‘‘,‘width=632,height=388, top=100, left=100,toolbar=no, status=no, menubar=no, resizable=no, scrollbars=yes‘);return false;">介绍及须知</li>
<li>电视节目</li>
<li>问卷调查</li>
</ul>
</body>
<script type="text/javascript">
$("#tree").treeview();
</script>
</body>
</html>
页面实现树状控件