[Seaside] parallel example
Lukas Renggli
renggli at gmail.com
Wed Jan 24 19:10:57 UTC 2007
> html anchor
> id: 'anchor';
> onClick: (html effect parallel: {
> html effect id: 'anchor'; highlight.
> html effect id: 'anchor'; move: 100 @ 200.
> html effect id: 'anchor'; scale: 4 };
> with: 'Parallelize Me'
>
> The 3 effects will be executed in parallel. I don't exactly know why
> script.aculo.us provides the parallel effect, after all simply
> concatenating the effects would execute them in parallel as well as
> they are processed asynchronously.
Btw, the script.aculo.us wiki usually has a bunch of good examples and
documentation. Of course all in JavaScript, but I am sure it is easy
to engineer it back to Smalltalk code ;-)
http://wiki.script.aculo.us/scriptaculous/show/Effect.Parallel
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Seaside
mailing list