Menu
Placed in the <head> of my document, the following code has absolutely no effect whatsoever…
…does anyone have any idea why? Seems alright to me..?
function imagePreLoader(pSrc)
{
var newImg=new Image()
newImg.src=pSrc;
}
function preLoadImages()
{
var imgSrcArray=[‘images/nav_07on.gif’,
‘images/nav_08on.gif’,
‘images/images/nav_09on.gif’,
‘images/nav_15on.gif’,
‘images/menu_products_on.gif’,
‘data.pertec.co.za/images/menu_news_on.gif’,
‘images/menu_newsletter_on.gif’,
‘images/menu_links_on.gif’,
‘nav_23_on.gif’];
for (var i=0;i<imgSrcArray.length;i++)
imagePreLoader(imgSrcArray[i]);
}