summaryrefslogtreecommitdiffstats
path: root/samples/tree/01_basic.html
diff options
context:
space:
mode:
Diffstat (limited to 'samples/tree/01_basic.html')
-rw-r--r--samples/tree/01_basic.html18
1 files changed, 7 insertions, 11 deletions
diff --git a/samples/tree/01_basic.html b/samples/tree/01_basic.html
index 3afbf8b..a73e160 100644
--- a/samples/tree/01_basic.html
+++ b/samples/tree/01_basic.html
@@ -1,24 +1,20 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML>
<html>
<head>
<title></title>
- <script>
- window.dhx_globalImgPath="../common/imgs/";
- </script>
-
-
-
-<script src="../dhtmlx/dhtmlx.js" type="text/javascript" charset="utf-8"></script>
-<link rel="stylesheet" href="../dhtmlx/dhtmlx.css" type="text/css" charset="utf-8">
+ <script src="../dhtmlx/dhtmlx.js" type="text/javascript" charset="utf-8"></script>
+ <link rel="stylesheet" href="../dhtmlx/dhtmlx.css" type="text/css" charset="utf-8">
</head>
+
<body>
<div id="treeboxbox_tree" style="width:300; height:218;background-color:#f5f5f5;border :1px solid Silver; "></div>
+
<script type="text/javascript" charset="utf-8">
tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0);
tree.setImagePath("../dhtmlx/imgs/dhxtree_skyblue/");
- //tree.enableSmartXMLParsing(true);
- tree.loadXML("01_basic_connector.php");
+ tree.load("01_basic_connector.php");
</script>
+
<div class='code'><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">require_once(</span><span style="color: #DD0000">"../config.php"</span><span style="color: #007700">);