Results 1 to 4 of 4

Thread: Javascript help

  1. #1
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Javascript help

    Hi all, I am looking to try to find a javascript to help me overcome a problem, I am looking to store a series of PDF files in a folder, what I am looking for is a javascript that will look at this folder and create a webpage listing the filenames contained in that folder with links to access the documents...

    does anyone know of a script out there that can do this or any other system that can handle this...

    Many Thanks

    Geoff

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Javascript alone can do this easily only if the names of the files are uniform, with just a number(s) differentiating one from the other. Is this the case? Otherwise, some server side approach would be needed.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2005
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default html links

    hey Geoff2149.... was fixin to ask a question and noticed your post, my java script is poor at best .... so not sure of a java solution but that can be accomplished with ms frontpage but just as easily ms word.... word has an insert function for html links.... i use that everyday....h

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You can't. Try using a server-side solution.

    /EDIT: Actually, I tell a lie. You could use your webserver's listing of the directory and AJAX to include it on the page. However, AJAX is currently a little beyond my ken.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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