Jindo
Self
- Reaction score
- 460
This is most likely a PHP job, but I have no idea what HTML is capable of these days...
---
I need a script that displays directories (not files) within the directory that the script is placed, and when a directory is clicked on, a list of directories and files within the directory appear, and the same for directories inside that directory etc. Also, if one directory is opened, all other directories (except any parent directories) are closed. Finally, I'd like it to remove any file-type suffixes on file names.
---
EXAMPLE: Below are three directories inside a root folder:
There are also files in the root, but I'd like not for them to show up unless inside one of the directories.
I want to view the contents of Directory 1, so I click on it:
The directory opens and the file paths become available (Doesn't display file-types).
Now I want to view Directory 2:
Directory 1 automatically closes since Directory 2 is opened.
Now I want to open the directory inside Directory 2:
Directory inside Directory 2 is opened.
---
If I've been unclear on anything in particular, please let me know.
Thanks in advance to anyone who is able to fulfill this request!
---
I need a script that displays directories (not files) within the directory that the script is placed, and when a directory is clicked on, a list of directories and files within the directory appear, and the same for directories inside that directory etc. Also, if one directory is opened, all other directories (except any parent directories) are closed. Finally, I'd like it to remove any file-type suffixes on file names.
---
EXAMPLE: Below are three directories inside a root folder:
- Directory 1
- Directory 2
- Directory 3
There are also files in the root, but I'd like not for them to show up unless inside one of the directories.
I want to view the contents of Directory 1, so I click on it:
- Directory 1
- Directory 1/File 1
- Directory 1/File 2
- Directory 2
- Directory 3
The directory opens and the file paths become available (Doesn't display file-types).
Now I want to view Directory 2:
- Directory 1
- Directory 2
- Directory 2a
- Directory 2/File 1
- Directory 2/File 2
- Directory 2/File 3
- Directory 3
Directory 1 automatically closes since Directory 2 is opened.
Now I want to open the directory inside Directory 2:
- Directory 1
- Directory 2
- Directory 2a
- Directory 2a/File 1
- Directory 2/File 1
- Directory 2/File 2
- Directory 2/File 3
Directory inside Directory 2 is opened.
---
If I've been unclear on anything in particular, please let me know.
Thanks in advance to anyone who is able to fulfill this request!