PDA

View Full Version : How to improve Rollover Funktion?


Bittersweetblue
09-08-2002, 10:17 PM
Have a look at the actuall version: Cosmic Car (http://www.cosmic-car.de)

Here I made a funktion which changes the images... At the beginning it worked really slow so I improved it through a preloader for the images...

But my problem is that if you click on a image it disapears while the next side is loading :mad:

Are there any suggestions how to improve my rollover funktion?
Is there a way how to avoid that the image disapears while u click on it?

Please reply
Thx Bittersweetblue

fluff
09-09-2002, 03:24 AM
Hello Bittersweetblue,

Looking at your sight, not sure what you mean? No images are disappearing for me? Can you point me to where the problem is?...unless its been fixed? :confused:

auf Wiedersehen!

duniyadnd
09-09-2002, 02:12 PM
Yeah, I don't see any white images in between, but I can imagine what they are with slower connections.

What you could do is create a function within the <head> tags, and create an array of the images, and a for loop that goes through them.

Have that function be called in your body tag as onload="function_name()"

that should help you preload the images.

sorry, i don't have time to write a working code of it, maybe when i get back.

duniyadnd