[Seaside] parallel example
Lukas Renggli
renggli at gmail.com
Wed Jan 24 19:07:34 UTC 2007
> Does anyone have an example on how to use the Scriptaculous parallel:
> message?
Try something like:
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.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Seaside
mailing list