Garrett Smith
29.05.2001, 20:52
I use this for preloading images. It is in an external js file.
It works fine in Mac IE and NS6. Are there any problems in windows IE?
function checkfirst(e){
if(document.readyState)
if(document.readyState == "complete")
loadMenu();
else setTimeout('checkfirst()',500);
else if(addEventListener)
window.addEventListener("load", loadMenu, false);
else loadMenu();
}
this.onload=checkfirst();
"Hello world"
It works fine in Mac IE and NS6. Are there any problems in windows IE?
function checkfirst(e){
if(document.readyState)
if(document.readyState == "complete")
loadMenu();
else setTimeout('checkfirst()',500);
else if(addEventListener)
window.addEventListener("load", loadMenu, false);
else loadMenu();
}
this.onload=checkfirst();
"Hello world"