How can you use jQuery to make sIFR-replaced elements fade in?
Posted
by Sam Goldman
on Stack Overflow
See other posts from Stack Overflow
or by Sam Goldman
Published on 2009-06-04T19:52:42Z
Indexed on
2010/05/12
19:24 UTC
Read the original article
Hit count: 245
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!
© Stack Overflow or respective owner