Folder view in html page |
Folder view in html page |
mikesmith |
Feb 20 2011, 03:57 PM
Post
#1
|
Group: Members Posts: 3 Joined: 20-February 11 Member No.: 13,928 |
I am not sure where to start with this one but I want to create an html page that can be opened on the local computer that has some text and links on it but also has a directory listing that when a file is clicked on it behaves similarly to windows explorer. I have attached a jpg depicting somewhat what I have in mind.
Thanks in advance for any help. Mike Smith Attached thumbnail(s) |
Christian J |
Feb 20 2011, 05:56 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
If you mean listing files in a web server directory, then it can be done with a server-side script, e.g. PHP. Making small thumbnail images of larger image files can also be done with PHP.
Making e.g. text files open in the user's text editor may not be possible, see http://htmlhelp.com/faq/html/links.html#force-download |
mikesmith |
Feb 23 2011, 06:59 PM
Post
#3
|
Group: Members Posts: 3 Joined: 20-February 11 Member No.: 13,928 |
Basically I wanted to create a simple html that I could use on my computer to do certain tasks. For example, choosing something like "Listen To Music" would show a page something like above with music files on my computer as well as links to web sites like jango, youtube etc. I thought there may be a simple way to embed an explorer into a frame/div but it looks like that is not the case so it would probably be much easier to just write a program in Visual Basic.
Mike Smith |
pandy |
Feb 23 2011, 07:26 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
If you are doing it all locally you can just use the local URL to the folder in question.
HTML <iframe src="file:///C:/folder/folder/music/"></iframe> |
Lo-Fi Version | Time is now: 25th April 2024 - 12:37 PM |