Directory Tree on a Web page - Post...

User 423135 Photo

Registered User
6 posts

I'm trying to put a directory tree in my web page where one is able to expand and collapse it and see what is contained in each folder. Could anyone help me with how to go about this?
User 364143 Photo

5,410 posts

What you are asking for can be accomplished via a PHP or JavaScript. I'm sure you can find some free ones on Google.

Another approach would be to allow indexing of a directory and subdirectories without an index page in the folder. Then the web server would creeate the directory tree for you.
CoffeeCup... Yeah, they are the best!
User 423135 Photo

Registered User
6 posts

Thanks Tom, I'll see if I can work it out before I come back with more questions.
User 2733 Photo

426 posts

dtree rules the school
Let's not get all hurt.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.