rem: beforeSetup: function(effect) { with(Element) { makePositioned(effect.effects[0].element); }}, afterFinishInternal: function(effect) { with(Element) { [hide, undoPositioned].call(effect.effects[0].element); setStyle(effect.effects[0].element, oldStyle); }} 
add: beforeSetup: function(effect) { effect.effects[0].element.makePositioned(); }, afterFinishInternal: function(effect) { effect.effects[0].element.hide(); effect.effects[0].element.undoPositioned(); effect.effects[0].element.setStyle(oldStyle); } 
context: Effect.DropOut = function(element) {  element = $(element);  var oldStyle = {    top: Element.getStyle(element, 'top'),    left: Element.getStyle(element, 'left'),    opacity: Element.getInlineOpacity(element) };  return new Effect.Parallel(    [ new Effect.Move(element, {x: 0, y: 100, sync: true }),       new Effect.Opacity(element, { sync: true, to: 0.0 }) ],    Object.extend(      { duration: 0.5,        beforeSetup: function(effect) { with(Element) {          makePositioned(effect.effects[0].element); }},        afterFinishInternal: function(effect) { with(Element) {          [hide, undoPositioned].call(effect.effects[0].element);          setStyle(effect.effects[0].element, oldStyle); }}       }, arguments[1] || {}));}
meta: 1782	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1782/a458ebb30ee90b66048c7fd858f5f39957a9be68/effects.js/clean/webapp/sandbox/scripts/effects.js