This is because currently the animated functions change the element's "display" CSS attribute to "block" while animating. I believe that currently this can't be worked around (at least with jQuery core). Someone correct me if I'm wrong.
Karl Rudd On 3/8/07, agent2026 <[EMAIL PROTECTED]> wrote: > > Hi all, > > Markup: > <p> somelink read more <span class="more"> >> </span></p> > > jQ: > $('a:contains("more")').hover(function(){$(this).next().fadeIn('fast')}, > function(){$(this).next().fadeOut('slow')}).next().hide(); > > Everything works, but when the span is fading in or out it's dropped > underneath the anchor. I thought it might be the span, but it happens if I > use another anchor as well. > > Adam > -- > View this message in context: > http://www.nabble.com/Element-droping-to-next-line-with-fadeIn%28%29-fadeOut%28%29-tf3363481.html#a9357325 > Sent from the JQuery mailing list archive at Nabble.com. > > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/