G
Geoff Cox
Hello
I have following type of code in the header
function pre_load_pics()
{
if (document.images)
{
var image1 = new Image(400,265);
image1.scr = "pic1.jpg";
var image2 = new Image(400,265);
image2.scr = "pic2.jpg";
etc etc
}
and the following in the body
<script>
pre_load_pics();
</script>
but images are not downloaded until the app needs them later.
Something wrong ? I thought they should be downloaded earlier?
Cheers
Geoff
I have following type of code in the header
function pre_load_pics()
{
if (document.images)
{
var image1 = new Image(400,265);
image1.scr = "pic1.jpg";
var image2 = new Image(400,265);
image2.scr = "pic2.jpg";
etc etc
}
and the following in the body
<script>
pre_load_pics();
</script>
but images are not downloaded until the app needs them later.
Something wrong ? I thought they should be downloaded earlier?
Cheers
Geoff