2026-03-17 13:31:18 -07:00

58 lines
1.7 KiB
HTML
Executable File

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
To use tree.js - copy this file to your frames directory
and edit the javascript block to build your tree. The
format for Node is:
parent.kids.push(new Node(<name>, <href>, <href_target>));
You may also edit the tree style by modifying the style
block above the javascript block.
Be sure that the tree code is installed under file:^tree.
-->
<html>
<head>
<title>Tree</title>
<script type='text/javascript' src='file:^tree/tree.js'></script>
<style type='text/css'>
#tree { font: 11px Verdana; }
#tree img { vertical-align: middle; }
#tree img.expander { cursor: pointer; }
#tree a { font-weight: bold; }
#tree a:link { color: black; text-decoration: none; }
#tree a:visited { color: black; text-decoration: none; }
#tree a:hover { color: black; text-decoration: underline; }
#tree a:active { color: black; text-decoration: none; }
</style>
<script type='text/javascript'>
var root = new Node("Root", "#");
var n;
var x;
root.kids.push(n = new Node("Building 1", "#"));
root.kids.push(new Node("Building 2", "#"));
root.kids.push(new Node("Building 3", "#"));
n.kids.push(x = new Node("Floor 1", "#"));
n.kids.push(new Node("Floor 2", "#"));
n.kids.push(new Node("Floor 3", "#"));
x.kids.push(new Node("VAV 1", "#"));
x.kids.push(new Node("VAV 2", "#"));
x.kids.push(new Node("VAV 3", "#"));
</script>
</head>
<body onload='initTree(root);'>
<div id='tree'></div>
</body>
</html>