71 lines
3.1 KiB
HTML
Executable File
71 lines
3.1 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'>
|
|
|
|
body
|
|
{
|
|
background-color: #fff;
|
|
background-image: url(file:^frames/images/treeBg.gif);
|
|
background-repeat: repeat-x;
|
|
}
|
|
|
|
#tree { font: 11px Tahoma; }
|
|
#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("Home", "/ord?station:|slot:/PxHome", "content");
|
|
|
|
var n = new Node("Graphics", "/ord?station:|slot:/PxHome/Graphics", "content");
|
|
root.kids.push(n);
|
|
n.kids.push(n = new Node("Campus", "/ord?station:|slot:/PxHome/Graphics/Campus", "content"));
|
|
n.kids.push(n = new Node("Building", "/ord?station:|slot:/PxHome/Graphics/Campus/Building", "content"));
|
|
n.kids.push(new Node("Main AHU", "/ord?station:|slot:/PxHome/Graphics/Campus/Building/AirHandler", "content"));
|
|
n.kids.push(new Node("Floor 4", "/ord?station:|slot:/PxHome/Graphics/Campus/Building/Floor4", "content"));
|
|
n.kids.push(new Node("Floor 3", "/ord?station:|slot:/PxHome/Graphics/Campus/Building/Floor3", "content"));
|
|
n.kids.push(new Node("Floor 2", "/ord?station:|slot:/PxHome/Graphics/Campus/Building/Floor2", "content"));
|
|
n.kids.push(new Node("Floor 1", "/ord?station:|slot:/PxHome/Graphics/Campus/Building/Floor1", "content"));
|
|
n.kids.push(new Node("Meter Room", "/ord?station:|slot:/PxHome/Graphics/Campus/Building/MeterRoom", "content"));
|
|
|
|
root.kids.push(n = new Node("Alarming", "/ord?station:|slot:/PxHome/Alarm", "content"));
|
|
n.kids.push(new Node("Alarm Console", "/ord?station:|slot:/Services/AlarmService/ConsoleRecipient", "content"));
|
|
n.kids.push(new Node("Alarm Demo", "/ord?station:|slot:/PxHome/Alarm/AlarmDemo", "content"));
|
|
|
|
root.kids.push(new Node("Reports", "/ord?station:|slot:/PxHome/Reports", "content"));
|
|
root.kids.push(new Node("Schedule", "/ord?station:|slot:/Logic/HousingUnit/Schedule", "content"));
|
|
root.kids.push(new Node("History", "/ord?station:|slot:/PxHome/History", "content"));
|
|
root.kids.push(new Node("User Service", "/ord?station:|slot:/Services/UserService", "content"));
|
|
|
|
</script>
|
|
</head>
|
|
<body onload='initTree(root);'>
|
|
<div id='tree'></div>
|
|
</body>
|
|
</html> |