Delay while images are being cached?

Discussion in 'Javascript' started by Donald Canton, Jul 2, 2003.

  1. Hi all,

    I've got a script that caches 52 card images and displays the
    appropriate card based on user input. It works fine, except when the
    page loads for the first time the results are unpredictable until a
    few seconds elapse. My guess is that it's taking time to cache the 52
    images. Is there any way to delay the loading of the page until all 52
    images are cached? Thanks.

    dc
    Donald Canton, Jul 2, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. feng
    Replies:
    3
    Views:
    10,278
    Teemu Keiski
    Feb 8, 2004
  2. Hazz
    Replies:
    1
    Views:
    381
    =?Utf-8?B?SGFtbWFkIFJhampvdWI=?=
    Mar 17, 2005
  3. Craig G
    Replies:
    0
    Views:
    381
    Craig G
    Mar 7, 2005
  4. cosmic foo

    many images delay even when cached

    cosmic foo, Jul 26, 2005, in forum: HTML
    Replies:
    32
    Views:
    1,086
    Blinky the Shark
    Jul 29, 2005
  5. Dan
    Replies:
    1
    Views:
    129
    Alan Howard
    May 5, 2004
Loading...

Share This Page