Jump to content

Archived

This topic is now archived and is closed to further replies.

Orio

Preload Pictures

Recommended Posts

Hello,
I am running this site: www.oriosriddle.com
Now, 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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Thanks alot!
I just used a script I found on the web, and that's what they said to do...
Thank you, both!

Orio.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.