⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testxtree.htm

📁 js“树”读取xml数据,我写了一个xml文档不用分层
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>

<title></title>
<!-- The xtree script file -->
<script src="xtree.js"></script>
<!-- Modify this file to change the way the tree looks -->
<link type="text/css" rel="stylesheet" href="xtree.css">

<style>
	body { background: white; color: black; }
	input { width: 120px; }
</style>

</head>
<body>
<div id="treediv"></div>
<script language="JavaScript" type="text/javascript">		
<!--
		var tree = new xmlTree('tree');
		tree.xmlFile = "xmltree.xml";
		tree.createTree("treediv");
//-->	
</script>	
	</body>
</html>

⌨️ 快捷键说明

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