Delay while page is loading

Discussion in 'Javascript' started by Donald Canton, Jul 12, 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 12, 2003
    #1
    1. Advertisements

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. jcfilth
    Replies:
    3
    Views:
    12,487
    Ken Cox [Microsoft MVP]
    Jan 16, 2004
  2. Ramesh
    Replies:
    0
    Views:
    475
    Ramesh
    Feb 4, 2004
  3. Joe
    Replies:
    0
    Views:
    3,334
  4. Replies:
    1
    Views:
    362
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Mar 9, 2007
  5. Nino
    Replies:
    3
    Views:
    2,698
  6. Valli
    Replies:
    7
    Views:
    671
    Valli
    Oct 5, 2007
  7. Delay loading of control?

    , Mar 31, 2005, in forum: Javascript
    Replies:
    4
    Views:
    242
  8. Gary Hasler
    Replies:
    0
    Views:
    272
    Gary Hasler
    Jun 7, 2007
Loading...