RE: Checking for preloaded images
by Chuck Evans <Chucke(at)captura.com>
|
| Date: |
Fri, 25 Feb 2000 11:24:56 -0800 |
| To: |
"'pbabcock(at)bgsgroup.com'" <pbabcock(at)bgsgroup.com> |
| Cc: |
"'HWG Languages'" <hwg-languages(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
Excellent idea! Thanks.
---------------------------------------------------------
Chuck Evans
Web Marketing Manager
Captura Software, Inc.
(425) 424-1155
chucke(at)captura.com
www.captura.com
-----Original Message-----
From: Phil Babcock [mailto:pbabcock(at)bgsgroup.com]
Well, you could do it another way - check where the client is coming from,
then preload or dont based upon that. This would be quite easy in ASP, and
I *think* that Javascript also has some sort of document.referrer object.
SO, if they are coming from welcome page - dont preload again, if not -
preload.
*********** REPLY SEPARATOR ***********
Chuck Evans wrote:
>I have a welcome page that preloads many of the graphics that are used on
>the main "Home Page" of my site (using Javascript). So when someone hits
the
>entry page first, then the Home page, the Home page "pops" right away.
(Case
>One.)
>
>The problem is that I also have to preload many of the same graphics on
the
>Home page (for the mouseOvers) if someone enters my site directly at the
>Home Page. (Case Two.)
>
>What this means is that, in Case One, the browser goes through the motions
>of preloading all the images a second time when it is not necessary.
>
>Is there a way with Javascript to check for pre-loaded images and then,
for
>Case One, NOT preload them a second time?
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.