Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2010
    Posts
    26
    Thanks
    4
    Thanked 0 Times in 0 Posts

    MM_effectAppearFade Problem

    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!

    http://www.annaleithauser.com/rosema...e/country.html

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

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,133
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •