Preload Image Script

wxdqz

New Member
In the preload image script, do I make the source of the image link to the image on the page or do I need to link the image in the Images folder?

Script is between head tags on file "Index.html"

<head><script language="JavaScript">
<!--

image1 = new Image();
image1.src = "blahblahblah.jpg";

//-->
</script></head>

!!!-----OR-----!!!

<head><script language="JavaScript">
<!--

image1 = new Image();
image1.src = "Images/blahblahblah.jpg";

//-->
</script></head>

Thanks in advance,

<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->
 
Back
Top