Hi,

I'm having a problem achieving smooth loading of iframes.  My ideal
behavior for the iframe is that iframe is completely loaded into the
dom, and them when I call fadeIn, it smoothly fades in.  Instead, I
get a very choppy behavior.

If I run a sequence like: fadeIn(), fadeOut(), fadeIn() - the first
fadeIn is choppy, while the last fadeIn is smooth.  This leads me to
believe this has to do with how the element is added to the dom.

Does anyone know how to solve this issue?

<code>
contentURL = 'www.facebook.com';
$('body').append('<iframe id="myiframe"/>');
$('#myiframe').attr('src', contentURL).hide();

$('#myiframe').fadeIn('medium');
</code>

Thanks!

Reply via email to