View Full Version : MM_effectAppearFade Problem

11-18-2010, 04:41 PM
Can anyone tell me why the fade is not working here? When I test it locally on my computer it's perfect, then I post it online, and the fade is totally jerky and doesn't work correctly. I want each thumbnail to change the upper jpeg accordingly, with a 2000ms fade in. Usually it just fades in on the same jpg, then swaps to the new one, rather than fading into the new one. The link to the page is below. Thanks a lot!


It looks as if the image is quickly swapping before the fade, but I'm not sure how to rectify the problem.

Old Pedant
11-18-2010, 10:22 PM
It's because your large images aren't preloaded into the user's browser. So when the fadein code calls for one of them, it has to be downloaded from the server. And that takes time.

Since you are using DrunkWeasel code, anyway, you might as well use their MM_PreLoadImages stuff (or a function with a name something like that...as you can tell, I don't use DW, so I'm only vaguely remembering the name).