rem: afterUpdate: function(effect) { effect.element.firstChild.style.bottom = (effect.originalHeight - effect.element.clientHeight) + 'px'; }, afterFinish: function(effect) { Element.hide(effect.element); Element.undoClipping(effect.element); } 
add: scaleMode: 'box', scaleFrom: 100, restoreAfterFinish: true, beforeStartInternal: function(effect) { with(Element) { makePositioned(effect.element); makePositioned(effect.element.firstChild); if(window.opera) setStyle(effect.element, {top: ''}); makeClipping(effect.element); show(element); }}, afterUpdateInternal: function(effect) { with(Element) { setStyle(effect.element.firstChild, {bottom: (effect.dims[0] - effect.element.clientHeight) + 'px' }); }}, afterFinishInternal: function(effect) { with(Element) { [hide, undoClipping].call(effect.element); undoPositioned(effect.element.firstChild); undoPositioned(effect.element); setStyle(effect.element.firstChild, {bottom: oldInnerBottom}); }} 
context: Effect.SlideUp = function(element) {  element = $(element);  Element.makeClipping(element);  Element.cleanWhitespace(element);  Element.makePositioned(element.firstChild);  Element.show(element);  return new Effect.Scale(element, 0,    Object.extend({ scaleContent: false,     scaleX: false,     afterUpdate: function(effect)       { effect.element.firstChild.style.bottom =           (effect.originalHeight - effect.element.clientHeight) + 'px'; },    afterFinish: function(effect)      {         Element.hide(effect.element);        Element.undoClipping(effect.element);      }   }, arguments[1] || {})  );}
meta: 5663	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5663/d29159eae8749c508d01bb447868321a3ba6bbfa/effects.js/buggy/manager/media/script/scriptaculous/effects.js