Populate JS Array with images in a directory

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Populate JS Array with images in a directory

    I am not sure this is possible but it seems like it should be. I want to
    populate a javascript array with all the image files in a dorectory. I want
    this to be dynamic so that when I add an image to the directory it get included
    in the array. Any ideas? I am sure there are many javascript wizards out
    there who can point me in the right direction. Cheers, Mark

    MDixon Guest

  2. Similar Questions and Discussions

    1. Populate dynamic text field with PHP array
      I would like to be able to dynamically populate a dynamic text field (assuming that's the best component to use) with an array of data from PHP. ...
    2. how to populate data from array??
      The following try to assign values from list to array in a loop, and print out the data in array. I cannot populate data from array. <cfset...
    3. Use array/variable data to populate column informationfor DataGrid
      I have an array of columns, column, that is dynamically created, and then rows of data for each column, column.data. I can pass data to a DataGrid...
    4. Newbie: How to get images from a virtual directory?
      Hi, I have problems to link the image source to an imagefile in a virtual directory. I have a website named 'MyImages' in...
    5. display images from ftp directory.
      i have iis5. windows 2k advance server. I have many http sites on iis. One ftp site with folders protected with userid and password. e.g i have...
  3. #2

    Default Re: Populate JS Array with images in a directory

    You will need to use some server-side scripting (e.g. ASP, PHP, or Coldfusion) to accomplish that.

    --
    Marja Ribbers-de Vroed

    Company website:
    [url]www.webwaresystems.nl[/url]
    Dreamweaver extensions:
    [url]www.flevooware.nl/dreamweaver/[/url]


    "MDixon" <m.dixon@reseauproteus.net> wrote in message news:d1pq2c$99q$1@forums.macromedia.com...
    >I am not sure this is possible but it seems like it should be. I want to
    > populate a javascript array with all the image files in a dorectory. I want
    > this to be dynamic so that when I add an image to the directory it get included
    > in the array. Any ideas? I am sure there are many javascript wizards out
    > there who can point me in the right direction. Cheers, Mark
    >
    Marja Ribbers Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139