Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: MM_effectAppearFade Problem
11-18-2010, 04:41 PM #1
- Join Date
- Jul 2010
- Thanked 0 Times in 0 Posts
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.
11-18-2010, 10:22 PM #2
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).
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.