untitled-2.htm

来自「jstree树形菜单结构树形菜单结构树形菜单结构」· HTM 代码 · 共 37 行

HTM
37
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
  <link rel="StyleSheet" href="dtree.css" type="text/css" />  
    <script type="text/javascript" src="dtree.js"></script> 
	<script type="text/javascript">  
        <!--  

        d = new dTree('d');//创建一个树对象  

        d.add(0,-1,'My example tree'); //创建一个树对象  
        d.add(1,0,'Node 1','example01.html');  
        d.add(2,0,'Node 2','example01.html');  
        d.add(3,1,'Node 1.1','example01.html');  
        d.add(4,0,'Node 3','example01.html');  
        d.add(5,3,'Node 1.1.1','example01.html');  
        d.add(6,5,'Node 1.1.1.1','example01.html');  
        d.add(7,0,'Node 4','example01.html');  
        d.add(8,1,'Node 1.2','example01.html');  
        d.add(9,0,'My Pictures','example01.html','Pictures I\'ve taken over the years','','','imgfolder.gif');  
        d.add(10,9,'The trip to Iceland','example01.html','Pictures of Gullfoss and Geysir');  
        d.add(11,9,'Mom\'s birthday','example01.html');  
        d.add(12,0,'Recycle Bin','example01.html','','','trash.gif');  

        document.write(d);  

        //-->  
    </script> 
</head>

<body>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?