This is a special effect to allow to combine more than one core effect into a parallel effect. It’s the only effect that doesn’t take an element as first parameter, but an array of subeffects.
script.aculo.us V1.0 and later.
new Effect.Parallel([array of subeffects], [options]);
new Effect.Parallel(
[ new Effect.Move(element, {sync: true, x: 20, y: -30, mode: 'relative'}),
new Effect.Opacity(element, {sync: true, to: 0.0, from: 1.0 } ) ],
{ duration: 0.5,
afterFinish: function(effect) { Element.hide(effect.effects[0].this.parentNode); }
}
);