Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: How to instance 2 tree menu in the same page
thu
Junior Member

Posts: 3
Registered: 6/15/2005
Member Is Offline
posted on 6/17/2005 at 05:53 PM Reply With Quote
How to instance 2 tree menu in the same page


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

Attachment: askTreeMenu.zip (3.42kb)
This file has been downloaded 1027 times
View User's Profile View All Posts By User U2U Member
tedqn
Junior Member

Posts: 5
Registered: 9/1/2005
Member Is Offline
posted on 9/2/2005 at 05:20 PM Reply With Quote
Each tree needs to have its unique name


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);
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004