reading files with javascript

D

DOM_scripter

Hi, I want to make an automatic foto album that lets me only drop a
bunch of pictures in a folder. When I open the browser a javascript
should read all the filenames in the folder, show thumbnails in a
table and when I click a thumbnail a window opend with the big picture.
So when I throw other picts in the folder and then refresh the browser,
these pictures should show.
The album is working. Only the part where the filenames are read in
automatically I haven't figured out yet.
I know this is easy with php etc but I want to distribute this mini
application on a cd so I cannot use server side technology here. Is
there a way to achieve this with Javascript and prefereblay withous
active-x or M$ technology?
 
V

VK

DOM_scripter said:
Hi, I want to make an automatic foto album that lets me only drop a
bunch of pictures in a folder. When I open the browser a javascript
should read all the filenames in the folder, show thumbnails in a
table and when I click a thumbnail a window opend with the big picture.
So when I throw other picts in the folder and then refresh the browser,
these pictures should show.
The album is working. Only the part where the filenames are read in
automatically I haven't figured out yet.
I know this is easy with php etc but I want to distribute this mini
application on a cd so I cannot use server side technology here. Is
there a way to achieve this with Javascript and prefereblay withous
active-x or M$ technology?

No.

You have to use FileSystemObject ActiveX control for IE, XPConnect for
Firefox and AFAIK you are out of luck with any other browser.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top