rem: element = $(element); var originalTop = element.style.top; var originalLeft = element.style.left; var originalWidth = element.style.width; var originalHeight = element.style.height; Element.makeClipping(element); return new Effect.Scale(element, 5, Object.extend({ scaleContent: false, scaleX: false, afterFinishInternal: function(effect) { new Effect.Scale(element, 1, { scaleContent: false, scaleY: false, afterFinishInternal: function(effect) { Element.hide(effect.element); Element.undoClipping(effect.element); effect.element.style.top = originalTop; effect.element.style.left = originalLeft; effect.element.style.width = originalWidth; effect.element.style.height = originalHeight; } }); }}, arguments[1] || {})); 
add: element = $(element); element.style.overflow = 'hidden'; return new Effect.Scale(element, 5, Object.extend({ scaleContent: false, scaleTo: 100, scaleX: false, afterFinish: function(effect) { new Effect.Scale(element, 1, { scaleContent: false, scaleTo: 0, scaleY: false, afterFinish: function(effect) { Element.hide(effect.element) } }); }}, arguments[1] || {})); 
context: Effect.Fold = function(element) {  element = $(element);  var originalTop = element.style.top;  var originalLeft = element.style.left;  var originalWidth = element.style.width;  var originalHeight = element.style.height;  Element.makeClipping(element);  return new Effect.Scale(element, 5, Object.extend({       scaleContent: false,    scaleX: false,    afterFinishInternal: function(effect) {    new Effect.Scale(element, 1, {       scaleContent: false,       scaleY: false,      afterFinishInternal: function(effect) {         Element.hide(effect.element);          Element.undoClipping(effect.element);         effect.element.style.top = originalTop;        effect.element.style.left = originalLeft;        effect.element.style.width = originalWidth;        effect.element.style.height = originalHeight;      } });  }}, arguments[1] || {}));}
meta: 3991	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3991/57687341792749db94b850962ee7ed7f18e1087d/effects.js/buggy/manager/media/script/scriptaculous/effects.js