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