jquerysifr

How can you use jQuery to make sIFR-replaced elements fade in?


This is what I currently have:

// #content is visibility=hidden
sIFR.replace(mix_bold, {
  selector: '#content p',
  onReplacement: function(fi) {
    $('#content').fadeIn("slow");
  }
});

The fade in happens, but for a split second the replaced flash movie appears before being hidden. Has anyone gotten this to work? I am using jQuery 1.2.6 and sIFR 3 r436. Tested in Safari 4 and FF 3.

Thanks!


Solution

  • It may help if you make the Flash movie transparent, but generally, I don't think this will work. Difficulty of Flash and HTML/CSS.