javascript delay

Out of context: Reply #4

  • Started
  • Last post
  • 7 Responses
  • moural0

    No, no. These images are on the same page as the preloader. Only the images on subsequent pages are being preloaded, not these.

    The problem is all the images above the script load normally, but the image below loads after (ie. page loads from top to bottom, script being in the middle) the preloader is almost finished.

    Like I mentioned, if I use SetTimeout, all this does is delay the loading of the script, only making the bottom image load later. What I need is for the entire page to load before the script, which is why I used onLoad and defer as heavy mentioned. And unfortunately, neither seem to work.

View thread