Y
yoyoyo
hi everybody!
i'm trying to learn javascript in order to build a function that i need
to put in my website..
since i have not so much time to do that i decided to ask to u in the
net..probably for u is very easy to tell me how i have
to do (and maybe someone of u also has the code..it would be great!)
the function i need is the following:
i have a tree with one or more root folders; each of those folders can
contain another folder, which can contain both folder
and document.
The function wants as argument the name of a folder or a document in
order then to show the branches of the tree that contain
the document or folder, leaving all the other branches closed..
it should be something like this:
-the full tree:
a-1
-2
b-3-8
-9
-10
-4
-5
c-6
-7
-8
When i give as argument the number "10" i want to show only
a
b-3-8
-9
-10
-4
-5
c
i hope to have been clear enough!
thank u so much!
teo
i'm trying to learn javascript in order to build a function that i need
to put in my website..
since i have not so much time to do that i decided to ask to u in the
net..probably for u is very easy to tell me how i have
to do (and maybe someone of u also has the code..it would be great!)
the function i need is the following:
i have a tree with one or more root folders; each of those folders can
contain another folder, which can contain both folder
and document.
The function wants as argument the name of a folder or a document in
order then to show the branches of the tree that contain
the document or folder, leaving all the other branches closed..
it should be something like this:
-the full tree:
a-1
-2
b-3-8
-9
-10
-4
-5
c-6
-7
-8
When i give as argument the number "10" i want to show only
a
b-3-8
-9
-10
-4
-5
c
i hope to have been clear enough!
thank u so much!
teo