rem: [ new Effect.Opacity(element, { sync: true, to: 1.0, from: 0.0, transition: opacityTransition }), new Effect.MoveBy(element, moveY, moveX, { sync: true, transition: moveTransition }), new Effect.Scale(element, 100, { 
add: [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: opacityTransition }), new Effect.MoveBy(effect.element, moveY, moveX, { sync: true, transition: moveTransition }), new Effect.Scale(effect.element, 100, { 
context: Effect.Grow = function(element) {  element = $(element);  var options = arguments[1] || {};    var originalWidth = element.clientWidth;  var originalHeight = element.clientHeight;  element.style.overflow = 'hidden';  Element.show(element);    var direction = options.direction || 'center';  var moveTransition = options.moveTransition || Effect.Transitions.sinoidal;  var scaleTransition = options.scaleTransition || Effect.Transitions.sinoidal;  var opacityTransition = options.opacityTransition || Effect.Transitions.full;    var initialMoveX, initialMoveY;  var moveX, moveY;    switch (direction) {    case 'top-left':      initialMoveX = initialMoveY = moveX = moveY = 0;       break;    case 'top-right':      initialMoveX = originalWidth;      initialMoveY = moveY = 0;      moveX = -originalWidth;      break;    case 'bottom-left':      initialMoveX = moveX = 0;      initialMoveY = originalHeight;      moveY = -originalHeight;      break;    case 'bottom-right':      initialMoveX = originalWidth;      initialMoveY = originalHeight;      moveX = -originalWidth;      moveY = -originalHeight;      break;    case 'center':      initialMoveX = originalWidth / 2;      initialMoveY = originalHeight / 2;      moveX = -originalWidth / 2;      moveY = -originalHeight / 2;      break;  }    new Effect.MoveBy(element, initialMoveY, initialMoveX, {     duration: 0.01,     beforeUpdate: function(effect) { $(element).style.height = '0px'; },    afterFinish: function(effect) {      new Effect.Parallel(        [ new Effect.Opacity(element, { sync: true, to: 1.0, from: 0.0, transition: opacityTransition }),          new Effect.MoveBy(element, moveY, moveX, { sync: true, transition: moveTransition }),          new Effect.Scale(element, 100, {             scaleMode: { originalHeight: originalHeight, originalWidth: originalWidth },             sync: true, scaleFrom: 0, scaleTo: 100, transition: scaleTransition })],        options); }    });}
meta: 1382	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1382/3f913f897829fb026ef98df2d57f8da94ee5339d/effects.js/clean/public/javascripts/effects.js