The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Folder view in html page
mikesmith
post 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)
Attached Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 20 2011, 05:56 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,653
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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
mikesmith
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 06:30 PM