Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Preload of images with JS

Author:vladimirr - Thu Aug 7 20:36:03 2003

<script language="JavaScript">
<!-- 
function PreLoad() {
if (document.images) { 

  img1 = new Image(); 
  img1.src = "billede1.jpg"; 

  img2 = new Image(); 
  img2.src = "billede2.gif"; 

  img3 = new Image(); 
  img3.src = "billede3.jpg"; 

} 
}
//-->
</script>

Add the pictures above and place it in your <head> section of the website
(remeber to change the numbers)

Use <body onLoad="PreLoad();"> to start the preloading on the site

// Vladimirr.dk 
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk