yongrhee
Newbie
Posts: 1
Registered: 10/24/2002
Member Is Offline
|
| posted on 10/24/2002 at 09:36 PM |
|
|
Multiple Trees on a page
How can I add multiple tree menu on a single html page?
|
|
|
mvaisman
Member
Posts: 11
Registered: 10/17/2002
Member Is Offline
|
| posted on 10/25/2002 at 11:59 PM |
|
|
Define:
var TREE_ITEMS = [......]
var TREE_ITEMS1 = [......]
var TREE_ITEMS2 = [......]
One for each menu you need
and use:
|
|
|
rpieszak
Newbie
Posts: 1
Registered: 11/29/2002
Member Is Offline
|
| posted on 11/29/2002 at 02:48 PM |
|
|
still getting error
Hello.
I tried the fix you posted, but I'm still getting errors. Originally, I was getting an error claiming that 'style' was undefined. Since, I'm
calling the js file twice (rename it and changed some of the formatting), I changed the id's of the div elements in one of the js files, and I
stopped getting that error. But now the issue I'm having is that when I click on either menu, they both toggle the same one. I noticed that when I
click an expandable node, the status bar says "trees[0].toggle(4)". I understand that the "4" is which branch to toggle, but isn't the "0"which tree? And if that's the case, for the second tree, shouldn't it say "trees[1].toggle(4)"? And if that's the case, how do I change that in
the js?
Thanks for any help.
|
|
|
rizko
Junior Member
Posts: 6
Registered: 12/1/2002
Member Is Offline
|
| posted on 12/2/2002 at 10:05 AM |
|
|
Why the color is different?
I am successed make a multiple Trees on a page. But why the link color on the first Tree and the other tree is different ???
|
|
|