Hi all,
I took my js out of the code for my webpage and put it in a file. The js gives me an error in the bottom left handside of the browser.
[url]http://216.219.94.105/index.cfm
The problem happened after I added this code in my head tag:
<script type=”text/javascript” src=”js/preloading.js”></script>
And then this is the code for the preloading.js:
function preloadImages() {
var d=document; if(d.images){ if(!d.p) d.p=new Array();
var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf(“#”)!=0){ d.p[j]=new Image; d.p[j++].src=a;}}
}
Also it seems that the preload is not really working? . Thanks for any help in advance?