Results 1 to 5 of 5

Thread: Step Carousel Ajax preloader not preloading!

  1. #1
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Step Carousel Ajax preloader not preloading!

    1) Script Title: Step Carousel Viewer v1.6.1

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem:

    Hello,

    I've set the Step Carousel to load externally via ajax. The loader appears for a few seconds and then loads my external content. The problem is, the content is still loading once the "Fectching content... please wait" message has disappeared. This is a problem if I have the carousel set to autostep, as images are still loading down the page whilst it's moving.

    Is there any reason why this is happening? I take it everything should load before the message disappears?

    Just so you know, I am loading the content via PHP switch, not that this should make a difference.

    Thanks

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Does your content include images or other embedded objects within them? To the script the contents have been loaded as soon as all the HTML related to them are downloaded. This means if a content contains images, those images themselves may not have been fully loaded yet, in which case making sure they contain explicit width/height attributes help.
    DD Admin

  3. #3
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hello!

    Yes, the content contains images (not massive - JPEG 6 in Photoshop). Apart from setting explicit dimensions, is there anything else I can do?

    Thanks

  4. #4
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    You could preload the images in the HEAD section of your page to further reduce the time it takes to download the images I suppose. That does require the extra work of defining the URLs to the images a second time, by using a preload image script such as this one.
    DD Admin

  5. #5
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    That's perfect. It's only for 10 images, so it will do the job perfectly.

    Thank you again for your help.

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
  •