Hi,

what you need to do this is a server side script language like PHP
to read/list your image folder and call the result via AJAX back to
the users browser within Javascript.

The Code you can implement is as follows:
<--- SNIP
function readFolder() {
  new Request.HTML({
    method: 'get',
    onComplete: function(responseHTML) {
      var folderView = $("YourFolderElementInPage");
      folderView.innerHTML = responseHTML;
    }
}).post("site.php");
-->

the "site.php" is your server side Script which list the contents of
image directory
and renders the output into a view like a gallery so the user can
click on the images.

Hope, that helps
Andy


On Apr 22, 6:14 pm, JVR <[email protected]> wrote:
> Hello All...
>
> never knew about mooTools till a couple of hours ago, and I like both
> the viewing effect and ease of install.
>
> however, what I need is for it to allow me to use a simple text link,
> to then open up a folder, and then "map" all the .jpgs within that
> folder and allow the visitor to use the >  < buttons to move thru the
> contents of that folder only. after the viewer closes and opens up a
> new text link, that new folder's contents can then be seen and moved
> thru the same way...all of this for 20 folders.
>
> is mooTools capable of that "folder" use? if so, great, but I can NOT
> find out how to do that yet...could someone provide a pointer?
>
> oh, simple florist's website, with various folders ie "pansies" and
> "lillies" and "roses" etc....in plain HTML....
>
> ?
>
> Jim

Reply via email to