JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CooljsTree and CooljsTree Pro do NOT Support unlimited depth

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree
Author Message
sam



Joined: 02 Oct 2003
Posts: 1

PostPosted: Thu Oct 02, 2003 7:31 pm    Post subject: CooljsTree and CooljsTree Pro do NOT Support unlimited depth Reply with quote

NOTE: The tree does not support unlimited node depth for any one node.

You can have as many parent-child node relationships as you wish but you CANNOT have more than two children for any one parent.

All the demos they show on the site further proves my point.

Example

Node1
----Node1_1
----Node1_2
----Node1_3 <----- Not allowed - Only 2 nodes per parent.

What a waste of my time this was trying to mess with it.
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu Oct 09, 2003 4:19 am    Post subject: Reply with quote

No, it does support unlimited number of nodes per parent, and unlimited depth also. We are trying too keep our samples simple, that is why they do not contain too many node.
Almost any page at javascript.cooldev.com contains a tree with much more then three children per parent.
http://javascript.cooldev.com/scripts/cooltree/samples/images/index.html - three nodes per parent.
http://javascript.cooldev.com/scripts/cooltree/samples/code/index.html - four nodes per parent (four toplevel nodes - they are children of the invisible root node).
http://javascript.cooldev.com/scripts/cooltree/samples/forms/index.html - three rather complex nodes.
http://javascript.cooldev.com/scripts/cooltree/samples/cool/index.html - seven nodes.
http://javascript.cooldev.com/scripts/cooltree/samples/menu1/index.html - lots of nodes.
Finally, you can use online builder and insert as many nodes as you want - and it will work.
So, why do you say that tree does not support more then 2 children per node?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsTree All times are GMT
Page 1 of 1