| Author |
Message |
datasoup
Joined: 29 Oct 2005 Posts: 3
|
Posted: Sat Oct 29, 2005 2:40 am Post subject: New Install - The best I can get is a little rectangle |
|
|
Even when I render one of the cooljstreepro samples, I only get a little rectangle, in both Internet Explorer and Opera. I tried disabling my virus software but that made no difference.
Anyone have a suggestion? Here's the source of the sample. The three .js files are in the same directory.
<html>
<head>
<link href="cooltree.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="cooltreepro.js"></script>
<script type="text/javascript" src="tree1_format.js"></script>
<script type="text/javascript" src="tree1_nodes.js"></script>
</head>
<body>
<table border="1" cellpadding="10" cellspacing="0" align="center">
<tr>
<td>
<script type="text/javascript">
var tree = new COOLjsTreePRO("tree1", TREE1_NODES, TREE1_FORMAT);
tree.init();
</script>
</td>
</tr>
</table>
<script type="text/javascript">RedrawAllTrees()</script>
</body>
</html> |
|
| Back to top |
|
 |
datasoup
Joined: 29 Oct 2005 Posts: 3
|
Posted: Sat Oct 29, 2005 4:36 am Post subject: New Install |
|
|
OK, getting closer. I discovered that the directory containing the sample did not contain the cooltreepro.js file, so no RedrawAllTrees() function. Rather significant omission. I copied it (the uncompressed version) from the scripts directory to the samples directory.
Now the sample works. Just need to get my own project working (it is still not rendering but I'm a little more optimistic after getting the sample up). |
|
| Back to top |
|
 |
datasoup
Joined: 29 Oct 2005 Posts: 3
|
Posted: Sat Oct 29, 2005 2:16 pm Post subject: New Install |
|
|
When I created my project I used the tree creation wizard, which apparently generated a cooljstree project instead of a cooljstreepro project. I never did get it to work.
However, I finally figured out that it was the "pro" part that was giving me problems and started over by using the New-->COOLjsTreePro option instead of the wizard. I entered my node data, fired off the generation wizard, and voila, there was my menu. |
|
| Back to top |
|
 |
|