Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Ultimate Fade In Slideshow

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

    Default

    No no no. Leave the array bits as they are. In the <head> of your document, without changing anything else, add
    Code:
    <script type="text/javascript" src="getpics2.php?preload"></script>
    <script type="text/javascript" src="getpics3.php?preload"></script>
    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!

  2. #22
    Join Date
    May 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That's it! Thanks!

    http://www.protestantlawyersny.org/test.htm

    It works very well now, though takes a while to load with all the images. I realize that since both getpics2.php and getpics3.php point to the same directory of images (Graphics/2006_Installation/Thumbnails/) that I am reloading the same images twice (although I could also use the second array to load a whole new folder of images as well)

    What if I placed these two lines into one of these preload splash pages so that, by the time it redirects to the home page, everything is loaded?


    Nelson

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

    Default

    If they both point to the same directory, you can get away with only putting one of them in.

    Yep, you can put them wherever you like.
    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!

  4. #24
    Join Date
    May 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    If I understand correctly, the script you wrote can be used to load an entire directory notwithstanding its use in connection with the ultimate fading slideshow script. Thus, I can use it in a preload page to load all the images for the site so that the site will run much more smoothly, which is wonderful!

    Thanks again for all your help!

    Nelson

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

    Default

    's right
    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
  •