| hwg-graphics archives | Sep 1998 | new search | results | previous | next |
Re: loading graphics and background questionby "Erman Peremeci" <ermanp(at)atacomputer.com.tr> |
|
-----Original Message-----
From: S Chouinard <susanc(at)aloha.net>
To: hwg-graphics(at)hwg.org <hwg-graphics(at)hwg.org>
Date: 04 Eyl=FCl 1998 Cuma 11:16
Subject: loading graphics and background question
>Hi,
>
>How do those great looking sites with photos for backgrounds get them to
>load so fast?
Probably because of good optimisation and using correct formats in correct
places.
>
>And is there a way I predetermine the order in which graphics load?
Pre-loading the images with Such a JavaScript code
may be a solution. You may look at www.atacomputer.com.tr to see how it
works.
<SCRIPT LANGUAGE=3D"JavaScript">
{ window.status=3D "Loading Images...";}
frame1 =3D new Image();
frame1.src =3D "images/dblack.gif";
frame2 =3D new Image();
frame2.src =3D "images/donanim.jpg";
...
>
>Thanks,
>Susan
>
e r m a n
P E R E M E C I
http://www.atacomputer.com.tr
HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA