Orio Posted May 31, 2006 Share Posted May 31, 2006 Hello,I am running this site: www.oriosriddle.comNow, as you can see there, I have a few pictures that are "animated" with javascript onMouseOver & onMouseOut events.So I used this preload script I found on the web to preload the pics shown on the onMouseOver.But since then I get this "Done, but with errors on page" (with Internet Exlporer) on the bottom left corner.Can someone tell me whats wrong? (Full code is in source code, But I can post it here if someone asks).The pics do get preloaded, it's the error disturbing me.Thank you,Orio. Quote Link to comment https://forums.phpfreaks.com/topic/10851-preload-pictures/ Share on other sites More sharing options...
nogray Posted May 31, 2006 Share Posted May 31, 2006 take this onload="Preload("gfx/start2.gif","gfx/hints2.gif","gfx/forums2.gif","gfx/info2.gif","gfx/feedback2.gif","gfx/ranking2.gif", "gfx/logo2.gif)"out of the body tag Quote Link to comment https://forums.phpfreaks.com/topic/10851-preload-pictures/#findComment-40639 Share on other sites More sharing options...
Orio Posted June 1, 2006 Author Share Posted June 1, 2006 So where should I put it? It's supposed to be in a tag, and as far as I know onload is put in the body tag.Orio. Quote Link to comment https://forums.phpfreaks.com/topic/10851-preload-pictures/#findComment-40854 Share on other sites More sharing options...
king arthur Posted June 1, 2006 Share Posted June 1, 2006 Just take it out and throw it away! You are already preloading the images in your javascript code inside your <head> section. I cannot see where Preload() is defined anyway? Quote Link to comment https://forums.phpfreaks.com/topic/10851-preload-pictures/#findComment-40865 Share on other sites More sharing options...
Orio Posted June 1, 2006 Author Share Posted June 1, 2006 Thanks alot!I just used a script I found on the web, and that's what they said to do...Thank you, both!Orio. Quote Link to comment https://forums.phpfreaks.com/topic/10851-preload-pictures/#findComment-40873 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.