rem: beforeSetupInternal: function(effect) { with(Element) { setStyle(effect.effects[0].element, {position: 'absolute'}); }}, afterFinishInternal: function(effect) { with(Element) { hide(effect.effects[0].element); setStyle(effect.effects[0].element, oldStyle); }} 
add: beforeSetupInternal: function(effect) { Position.absolutize(effect.effects[0].element) }, afterFinishInternal: function(effect) { effect.effects[0].element.hide().setStyle(oldStyle); } 
context: Effect.Puff = function(element) {  element = $(element);  var oldStyle = { opacity: Element.getInlineOpacity(element), position: Element.getStyle(element, '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) { with(Element) {        setStyle(effect.effects[0].element, {position: 'absolute'}); }},      afterFinishInternal: function(effect) { with(Element) {         hide(effect.effects[0].element);         setStyle(effect.effects[0].element, oldStyle); }}     }, arguments[1] || {})   );}
meta: 6359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6359/52d313976f72b3f30c833a7675d476a595bc284d/effects.js/clean/web/js/effects.js