Asked By
Pedro Mahon
60 points
N/A
Posted on - 12/11/2012
Are there any html codes for listing files in directories or folders? I've seen codes on the web that applies javascript. I'm honestly not that adept in this scripting language. Is there any possibility that html display file in folders without using Javascript? If not, could you please provide me with free tutorials on Javascript that a beginner like me could easily understand? Thanks.
HTML Display File in Folders without JavaScript
Hello Pedro,
There are various ways of displaying files in a given folder. Many of the methods use JavaScript for sorting the files in the folder, PHP and CSS for the display in a webpage. You can download a complete setup of codes which contains all the required file codes and you will not be required to change anything. In this case, you will only be required to place the given files in the directory where you want the contents to be displayed and there you are, you just create a link to the folder for your files to be displayed.
You can get a simple and complete display code from https://css-tricks.com/snippets/php/display-styled-directory-contents/
Thank you.