Karl Swedberg wrote:
On Sep 20, 2007, at 10:06 AM, Scott Sauyet wrote:
Mr Batman wrote:
I would like to insert all of the images from a certain folder in the
root of my site into one div on my home page automatically.
Is this possible with jQuery and if so how do you do it?

jQuery cannot know what files are on your server. [ ... ] Do you have the ability on the server to create such a list? You could do
it with PHP, ColdFusion, Java, ASP, or numerous other tools, even
manually creating a list if it's fairly static.
>
I might be misunderstanding what is going on here, but I thought Jake Wolpert put together a plugin that does just that:

http://jqueryjs.googlecode.com/svn/trunk/plugins/traverseDir/jquery-traverseDir.js

Ahh, never saw that before. Okay, add to the list of techniques for creating the server list Apache's directory listing. If your server is Apache, and the directory has folder listing turned on, this plug-in would be a great help. It would probably work with most directory listing systems too.

  -- Scott

I haven't seen Jake around these parts since I joined six months ago.

Reply via email to