hi all,
i’m new to javascript but very familliar with scripting and programming.
i was wondering if there is some way i can loop round all of the images in a folder and then display them.
i would be thinking of code looking like this;
var im= nextImage();
while (im != null)
{
document.write
(“<a href=’images_folder/im’><img src=’images_folder/im’ alt=” /></a>”);
document.write(“<br />”);
im= nextImage();
}
the function nextImage() is one i have invented out of thin air which would move through all of the images in a folder one after the other.
obvioulsy this is quite a high-level solution but i was wondering if anyone knows how to do this.
i would have done this using php and mysql but i can’t get free web space to do this. i wouldn’t know how to do it using an applet either.
thanks
john