Delay while page is loading

Giganews Newsgroups
Subject: Delay while page is loading
Posted by:  dcant… (Donald Canton)
Date: 12 Jul 2003

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.