Forum Moderators: open

Message Too Old, No Replies

Collapsable Directory Tree

         

NickCoons

8:07 am on Jun 20, 2006 (gmt 0)

10+ Year Member



I'm looking to create a page that contains a JavaScript-based collapsable directory tree, that will list folders and their sub-folders, each with a checkbox next to them. This directory tree will consist of folders that exist on the client's machine. The client would then check the boxes of the chosen folders, and upon submitting the form the path of the checked folders would be sent to the server.

I'm hoping that something like this already exists to some extent so I don't have to start from scratch, I can instead modify something that exists. Anyone know of any such projects?

Holloway

12:00 pm on Jun 20, 2006 (gmt 0)

10+ Year Member



There are lots of started treeview on the web just googling would produce lots of results by maybe you could start here: [obout.com...]
Its not completely free but might help you. Telerik are also good but no free either.

NickCoons

5:23 pm on Jun 20, 2006 (gmt 0)

10+ Year Member



Yes, I have searched a bit looking for a this; but all of them, including the one you suggested, shows a tree with predetermined labels. I want something that will, on-the-fly, scan the user's hard drive and generate a list of folders on their machine, then create a tree view out of that.

jshanman

5:32 pm on Jun 20, 2006 (gmt 0)

10+ Year Member



Javascript has no access to the clients hard drive... I think with mozilla, you can read the contents of the hard drive, but you have to make the user jump the major hoops to use the script(edit browser config files, etc).

- JS

NickCoons

5:47 pm on Jun 20, 2006 (gmt 0)

10+ Year Member



That's what I was afraid of. Any idea what those hoops might be?

jshanman

5:52 pm on Jun 20, 2006 (gmt 0)

10+ Year Member



A quick google search for: local files javascript

shows me ideas for IE (ActiveX) and Mozilla.

- JS

NickCoons

12:02 am on Jun 21, 2006 (gmt 0)

10+ Year Member



Thank you.. very helpful!