0

Dear friends, I am interested in creating a tree structure like the image attacched using jquery and json data.

datasets:

[{'name':'xxx', position:'left','parent': 0},
{'name':'yyy', position:'left','parent': 1},
{'name':'yyy', position:'middle','parent': 1},
{'name':'yyy', position:'right','parent': 1},
{'name':'yyy', position:'left','parent': 2},
{'name':'yyy', position:'right','parent': 2},
{'name':'yyy', position:'left','parent': 3}]

Where,
name - specifies name of the node
parent - node will be given number nodes direct child
position: [left/right/middle]position of the node to the parent

How to achieve this structure??.. Please suggest me.. Thank you in advance..

Attachments mlm-adhar.jpg 7.38 KB
2
Contributors
1
Reply
12
Views
4 Years
Discussion Span
Last Post by LastMitch
0

I am interested in creating a tree structure like the image attacched using jquery and json data.

You used this instead:

http://www.yourfreeworld.com/script/phpmlmscript.php

I don't think any Daniweb members would post a code to help you acheive that because you are doing Multi-level Marketing. Another words you are going to make money out of this.

Edited by LastMitch

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.