PDA

View Full Version : Javascript



Amarjit
10-13-2003, 05:11 PM
I have a large folder of images from which I would like to display the contents of into a single page. Is there a JavaScript that will display all the images inside this folder? BTW, the images do not stick to a naming convention. ;)

VB
10-13-2003, 07:01 PM
I don't think so. As far as I know JavaScript doesn't have functions to read a directory listing into an array.


If you would number the files (with a renamer like CKrename it takes just a second), then you could display all the pictures easily with a simple for-loop.

Amarjit
10-14-2003, 04:42 PM
Good idea, much like you have demonstrated here (http://doa2.host.sk/pm.htm). ;)

djweiser
10-17-2003, 07:25 PM
Originally posted by Amarjit@14 October 2003 - 16:42
Good idea, much like you have demonstrated here (http://doa2.host.sk/pm.htm). ;)
:o