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