I am so sorry for all these messages.
Can you tell me how I can put each individual tree into a table cell?
e.g.
Code: Select all
<table border="1" width="100%">
<tr>
<td>Tree 1</td>
<td>Tree 2</td>
<td>Tree 3</td>
</tr>
</table>
Code: Select all
<table border="1" width="100%">
<tr>
<td>Tree 1</td>
<td>Tree 2</td>
<td>Tree 3</td>
</tr>
</table>
Code: Select all
<html>
...
<body>
<script type="text/javascript">
<!--
treeA = new treemenu('treeA',...); // First tree:
treeA.put(...); // Instantiate and fill the tree
treeA.add(...); // with 'add/put' but don't type
... // document.write(treeA);
treeB = new treemenu('treeB',...); // Second tree:
treeB.put(...); // Instantiate and fill the tree
treeB.add(...); // with 'add/put' but don't type
... // document.write(treeB);
//-->
<!-- Beginning of the HTML-part in the document body -->
<table>
<tr><td>
<script type="text/javascript">
<!--
document.write(treeA); // Include the first tree 'treeA'
//-->
</td><td>
<script type="text/javascript">
<!--
document.write(treeB); // Include the second tree 'treeB'
//-->
</td></tr>
</table>
</body></html>
Code: Select all
<table style="width:95%">
<colgroup><col style="width:50%"><col style="width:50%"></colgroup>
... table content ...
</table>