親要素をゆっくりとフェードさせ、子要素を即座に表示または非表示にする方法はありますか?
私はこれを試しましたが、うまくいきません..
html
<figure>
<p>Foo Figure...</p>
<figcaption>Bar Caption...</figcaption>
</figure>
jQuery
$('figure').hide();
$('figure').fadeIn({
duration: 1000,
start: function(){
$(this).find('figcaption').show();
}});
フィドル