Welcome to WebmasterWorld Guest from 54.166.152.121

Forum Moderators: not2easy

Message Too Old, No Replies

How can you change the order graphics load in?

     

vis

2:21 pm on Feb 20, 2001 (gmt 0)

10+ Year Member



I don't generally venture this far down in the webmaster forums...

Is it possible to specify the order in which graphics are downloaded on a web page. I am using several css boxes all with images in and I would like some images to load before others.

Is there a simple solution?

4:53 pm on Feb 20, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try preloading the images within in the head tags.
<script language="JavaScript">
<!--
image1=new Image(20,20)
image1.src=" imagename.gif"
image2=new Image(30,30)
image2.src=" imagename2.gif"
-->
</script>

Then add the "name" to image reference.
<img name="image1" src="imagename.gif" width="20" height="20">
<img name="image2" src="imagename2.gif" width="30" height="30">

vis

11:18 am on Feb 21, 2001 (gmt 0)

10+ Year Member



Thanks,

A cut-and-paste solution that works like a charm.

Much obliged.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month