Board Logo

How to instance 2 tree menu in the same page
thu - 6/17/2005 at 05:53 PM

I have the same problem

Hi,

I like to use 2 trees.

If use ie, I have the error: 'style' is null or not an object.
if use netscape, I didnot see the error but the tree function didn't work correctly.


See my example files attached
They are only small examples but I want to see if I click on icons or checkbox of parent nodes, the value that I am tracing is right.

I am trying debug this one for 3 days!!!! Thanks in advance for your hint


tedqn - 9/2/2005 at 05:20 PM

Both your trees have the same name. For example,

var TREE00000_ITEMS = [
['Information view options', 0,
[elementNode
],
[actions, 0,
[homePage],
[properties]
]
]
];
new tree (TREE0000_ITEMS, TREE_TPL);

var TREE1111_ITEMS = [
['Information view options', 0,
[elementNode
],
[actions, 0,
[homePage],
[properties]
]
]
];
new tree (TREE1111_ITEMS, TREE_TPL);


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/