Hi,

I still don't understand why I see this effect in the list with input
elements and not in the list without input elements, but your solution
works perfect, thanks!

Jeroen

On Aug 19, 6:32 pm, Bernd Matzner <[EMAIL PROTECTED]>
wrote:
> Hi Jeroen,
>
> the slideUp and slideDown animations are happening at the same time,
> because you're calling them one after another (and each takes a while
> to complete).
> One simple, yet not really elegant way of working around it is this:
> Exclude the paragraph in the clicked element from the list of
> paragraphs to be slid up by using not():
>
> $('.accordion p:visible').not($(this).siblings('p')).slideUp('fast');
>
> That way, even if the slideDown function set the paragraph to visible,
> it will not be subject to the slideUp function.
>
> Bernd

Reply via email to