homepage Welcome to WebmasterWorld Guest from 54.166.255.168
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
Forum Library, Charter, Moderators: not2easy

Site Graphics and Multimedia Design Forum

    
How can you change the order graphics load in?
vis

10+ Year Member



 
Msg#: 58 posted 2:21 pm on Feb 20, 2001 (gmt 0)

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?

 

minnapple

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 58 posted 4:53 pm on Feb 20, 2001 (gmt 0)

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

10+ Year Member



 
Msg#: 58 posted 11:18 am on Feb 21, 2001 (gmt 0)

Thanks,

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

Much obliged.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Site Graphics and Multimedia Design
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved