Kim Johnson schrieb:
> Thanks to both of you! :) this is exactly what I
> needed.
>
> Question 2: is there a way to pause the slidedown from
> happening? I notice there's a pause() plugin, I dl'ed
> that and attempted to chain it such as:
>
> target.slideUp("slow", function() {
>
> target.children("div.middle").html(stuff).pause(2000).slideDown("slow");
> });
>
> But alas, no pause happened.
>
> thanks,
> -kim
From what I remember, you have to do this, when pausing for effects:
target.children("div.middle").html(stuff).pause(2000,
'fx').slideDown("slow");
Karl recently wrote about a neat trick to achieve the same without the
pause plugin:
http://www.learningjquery.com/2007/01/effect-delay-trick
Just do this:
target.children("div.middle").html(stuff).pause(2000,
'fx').animate({opacity: 1}, 2000).slideDown("slow");
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/