<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>You should be able to&nbsp;cascade&nbsp;an&nbsp;#onComplete block to&nbsp;the JQAnimate object.&nbsp;I have a bunch of code&nbsp;at home I can&nbsp;send you&nbsp;later, but it should look something like this:<BR>
&nbsp;<BR>
(html jQuery: id)&nbsp;fadeOut: 0.5; onComplete: (html jQuery: id) ....<BR>
&nbsp;<BR>
Check out the examples as well: <A href="http://demo.seaside.st/javascript/jquery/animations">http://demo.seaside.st/javascript/jquery/animations</A><BR>
&nbsp;<BR>
RS<BR>&nbsp;<BR>
<DIV>&gt; From: wojtekk@kofeina.net<BR>&gt; Date: Tue, 15 Oct 2013 16:46:00 +0200<BR>&gt; Subject: Re: [Seaside] A welcome; and chaining jQuery events<BR>&gt; To: seaside@lists.squeakfoundation.org<BR>&gt; <BR>&gt; Hi,<BR>&gt; this is obvious, isn't it? Now how to do this not leaving Smalltalk<BR>&gt; and not introducing literal javascript?<BR>&gt; <BR>&gt; W.<BR>&gt; <BR>&gt; On Tue, Oct 15, 2013 at 4:38 PM, Karsten Kusche &lt;karsten@heeg.de&gt; wrote:<BR>&gt; &gt; try the documentation:<BR>&gt; &gt;<BR>&gt; &gt; http://api.jquery.com/fadeout/ there's an options parameter that you can<BR>&gt; &gt; pass to fadeout. In that dictionary you can specify a done-function.<BR>&gt; &gt;<BR>&gt; &gt; Kind Regards<BR>&gt; &gt; Karsten<BR>&gt; &gt;<BR>&gt; &gt; --<BR>&gt; &gt; Karsten Kusche - Dipl. Inf. (FH) - karsten@heeg.de<BR>&gt; &gt; Georg Heeg eK - Köthen<BR>&gt; &gt; Handelsregister: Amtsgericht Dortmund A 12812<BR>&gt; &gt;<BR>&gt; &gt; Am Dienstag, 15. Oktober 2013 um 16:04 schrieb Wojciech Kaczmarek:<BR>&gt; &gt;<BR>&gt; &gt; Hello,<BR>&gt; &gt;<BR>&gt; &gt; I'd like to welcome everyone on this list. I was playing with Seaside<BR>&gt; &gt; many years ago and I'm very glad to see it not only survived but being<BR>&gt; &gt; still active and evolving :)<BR>&gt; &gt;<BR>&gt; &gt; Now I'm trying to get my head around the idea of interactive web<BR>&gt; &gt; components I always wanted to have in a library. Looks like with some<BR>&gt; &gt; creativity and discipline Seaside may be the platform it's possible to<BR>&gt; &gt; have such thing on.<BR>&gt; &gt;<BR>&gt; &gt; I am experimenting now with giving the components visual behavior via<BR>&gt; &gt; jquery effects. Say I want to: fade out some dom element, then replace<BR>&gt; &gt; it with another and fade in this new one. My tries now boil down to a<BR>&gt; &gt; very specific question:<BR>&gt; &gt;<BR>&gt; &gt; How to properly chain jQuery effects?<BR>&gt; &gt;<BR>&gt; &gt; If I do something like:<BR>&gt; &gt;<BR>&gt; &gt; html fooElement<BR>&gt; &gt; id: id;<BR>&gt; &gt; onClick: (html jQuery ajax script: [ :s |<BR>&gt; &gt; s &lt;&lt; (s jQuery: id) fadeOut: 2 seconds.<BR>&gt; &gt; s &lt;&lt; (s jQuery: id) parent html: OtherFoo new.<BR>&gt; &gt; ]<BR>&gt; &gt;<BR>&gt; &gt; then the fade-out action will be fired -- meaning: started, but then<BR>&gt; &gt; the dom replacement will be also fired right-away, effectively<BR>&gt; &gt; replacing the element being faded out.<BR>&gt; &gt; I need a method for chaining actions - not only pre-existing effects<BR>&gt; &gt; but also dom manipulation, and, ideally, any javascript, so that one<BR>&gt; &gt; is starting upon completion of another.<BR>&gt; &gt; I realize it'd require to have some Seaside API over what goes into js<BR>&gt; &gt; complete() callback handlers - is there anything like this, possibly<BR>&gt; &gt; undocumented?<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; cheers,<BR>&gt; &gt;<BR>&gt; &gt; Wojtek<BR>&gt; _______________________________________________<BR>&gt; seaside mailing list<BR>&gt; seaside@lists.squeakfoundation.org<BR>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<BR></DIV>                                               </div></body>
</html>