Re: Checking for preloaded images
by "Phil Babcock" <pbabcock(at)bgsgroup.com>
|
| Date: |
Fri, 25 Feb 2000 14:20:20 -0500 |
| To: |
Chucke(at)captura.com, "hwg-languages(at)hwg.org" <hwg-languages(at)hwg.org> |
| References: |
GIBRALTAR |
| |
todo: View
Thread,
Original
|
|
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.
hth
*********** 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?
>
>---------------------------------------------------------
>Chuck Evans
>Web Marketing Manager
>Captura Software, Inc.
>(425) 424-1155
>chucke(at)captura.com
>www.captura.com
*********** END REPLY SEPARATOR ***********
Phil Babcock
Lead Web Designer
BGS Group Inc.
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.