Date:  02/19/2006 07:37:04 PM Msg ID:  002841
From:  Ali Koumaiha Thread:  002841
Subject:  Thoughts on design..
I am currently using Foxweb and i have developed an internal portal/ordering system for my company.  I am currently stuck on a design issue for our File-Library section.
 
Basically, Our corporate staff will be placing files and links and news articles on the portal section and it is appearing to me that it will look like a tree in a sense.
 
I have spent a week so far to come up with a nice design to handle this.  I am stuck.  Any thoughts would be greatly appreciated.
 
I have created a Tree table similar to the table of the Treeview of FoxPro, but i haven't been  successful.
 
This is what i would like to have:
 
- Root 1
   - Child 1.1
   - Child 1.2
   ----- Child 1.2.1
- Root 2
- Root 3
  - Child 3.1
 
Etc.  I am thinking, when the script loads the page, i only display the parents (root 0) Root 1,2 & 3.  Then, depending on which link (fwx will track the root by something like this DisplayRoot.fwx?NodeID="<%=root%>". 
But, the expand function is killing me.  Any thoughts?  Has anyone coded a catalog/tree type similar to my concept and were succesful?
Please help.
 
Thanks