Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Removing pause at start of banner rotation...

    When the page loads, this script won't start until EVERYTHING on the page has completed the load. Also, as the script you have loads the banners as required, this will cause a certain lag time. So the things I would change are firstly, I would add in a pre-loader, so that all images are ready for use as soon as the script requires them. If you don't do this, then the script waits 5 seconds, and then attempts to show the image. As it's not currently in the DOM, it then loads the image, which takes an extra couple of seconds.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  2. #2
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Removing pause at start of banner rotation...

    Quote Originally Posted by Absolute View Post
    I would add in a pre-loader
    Thanks for your reply Absolute

    How what and where would I do this?

    Thanks.

  3. #3
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Removing pause at start of banner rotation...

    Quick google will show you examples of this Javascript. There are so many ways to do this, you would need to decide which one is best for you. Just search for "Javascript Image Preloader".

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

 

 

Similar Threads

  1. Banner header rotation
    By alanlee9898 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 May 2011, 05:44 AM
  2. Stop banner rotation
    By Zombie63 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Feb 2010, 10:27 PM
  3. Stop banner rotation!
    By Orchard_Direct in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Jun 2008, 02:35 PM

Posting Permissions

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