Web Design Forum: Pre-Load Images - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Pre-Load Images Rate Topic: -----

#1 User is offline   lstables 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 441
  • Joined: 08-June 08
  • Reputation: 1
  • Gender:Male
  • Location:Yorkshire, UK
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 11 September 2008 - 06:05 PM

Does any one know how to pre-load images so that when the site appears it's not stilll downloading the images on the site??

If so please provide a url's or tell me where to get a pre writ script.

Thanks
0

#2 User is offline   TFM4th 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 277
  • Joined: 05-October 07
  • Reputation: 1
  • Location:Buffalo, New York
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 11 September 2008 - 06:35 PM

hi, I think this is what you are talking about

place this above the </head>
<script LANGUAGE="JavaScript">

<!--//--><![CDATA[//><!--

image1 = new Image();
image1.src = "imgs/image_name1.jpg";

image2 = new Image();
image2.src = "imgs/image_name2.jpg";

image3 = new Image();
image3.src = "imgs/image_name3.jpg";

//--><!]]>

</script>

0

#3 User is offline   lstables 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 441
  • Joined: 08-June 08
  • Reputation: 1
  • Gender:Male
  • Location:Yorkshire, UK
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 11 September 2008 - 06:54 PM

Thanks just what i need

Cheers
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users