palAlaa
palAlaa

Reputation: 9858

how can i make jquery tree with two level only?

i am beginer in jquery and i don't have experince in jquery but i need to use tree with two level , since when i click on ?one link new links appear down of it , just like hotmail inbox idea ! can some one help ?

Upvotes: -1

Views: 589

Answers (2)

JAL
JAL

Reputation: 21563

You may wish to check out this jQuery plugin: http://docs.jquery.com/Plugins/Treeview

Upvotes: 1

kobe
kobe

Reputation: 15835

There is no need to use jquery to build the tree. You can simlpy build the tree by using html and some + image sybol. you can control in the code to what leve you want to show the tree. Normally we uses recursive loops to build the tree. Whenever there is leaf node we add dot image and whenever there are children under it we can add + image symbol.

Upvotes: 0

Related Questions