Results 1 to 2 of 2

Thread: Slide Show Script Slows Page Load

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

    Default Slide Show Script Slows Page Load

    1) Script Title:
    Ultimate Fade-in slide show v2.0

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

    3) Describe problem:

    Greetings,

    Just added javascript code to a website that will render a fading slideshow of images on the home page. It works fine, but I am getting reports of a lag in the time it takes for the rest of the page to load. Some people say the navigation doesn't appear until the sixth image of the slide show.

    Thanks for your help.

    Mg2

  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

    Adding any script of any length, not to mention adding images, will both slow page load times. You can minimize this by optimizing the images and the script. However, the script (jquery.min.js) is already optimized for the most part and the other script code is so short as to make no real difference. You may be able to realize some speed gains by hosting the jquery.min.js script on your server.

    Layout (particularly the use of nested tables) can really slow things down if there are other items within those tables (like images or scripts) which require their own loading time.

    So, optimize your images and your layout. Other than that - tell these people to get a faster internet connection.

    If you want more help:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

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
  •