rem: new Effect.Parallel( [ new Effect.Scale(element, 200, { sync: true, scaleFromCenter: true }), new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0 } ) ], { duration: 1.0, afterUpdate: function(effect) 
add: element = $(element); var oldOpacity = Element.getInlineOpacity(element); var oldPosition = element.style.position; return new Effect.Parallel( [ new Effect.Scale(element, 200, { sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }), new Effect.Opacity(element, { sync: true, to: 0.0 } ) ], Object.extend({ duration: 1.0, beforeSetupInternal: function(effect) 
context: Effect.Puff = function(element) {  new Effect.Parallel(   [ new Effect.Scale(element, 200, { sync: true, scaleFromCenter: true }),      new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0 } ) ],      { duration: 1.0,       afterUpdate: function(effect)        { effect.effects[0].element.style.position = 'absolute'; },      afterFinish: function(effect)       { Element.hide(effect.effects[0].element); }     }   );}
meta: 2749	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2749/3f913f897829fb026ef98df2d57f8da94ee5339d/effects.js/buggy/public/javascripts/effects.js