rem: opacity: Element.getInlineOpacity(element) }; 
add: opacity: element.getInlineOpacity() }; 
context: Effect.Grow = function(element) {  element = $(element);  var options = Object.extend({    direction: 'center',    moveTransistion: Effect.Transitions.sinoidal,    scaleTransition: Effect.Transitions.sinoidal,    opacityTransition: Effect.Transitions.full  }, arguments[1] || {});  var oldStyle = {    top: element.style.top,    left: element.style.left,    height: element.style.height,    width: element.style.width,    opacity: Element.getInlineOpacity(element) };  var dims = Element.getDimensions(element);      var initialMoveX, initialMoveY;  var moveX, moveY;    switch (options.direction) {    case 'top-left':      initialMoveX = initialMoveY = moveX = moveY = 0;       break;    case 'top-right':      initialMoveX = dims.width;      initialMoveY = moveY = 0;      moveX = -dims.width;      break;    case 'bottom-left':      initialMoveX = moveX = 0;      initialMoveY = dims.height;      moveY = -dims.height;      break;    case 'bottom-right':      initialMoveX = dims.width;      initialMoveY = dims.height;      moveX = -dims.width;      moveY = -dims.height;      break;    case 'center':      initialMoveX = dims.width / 2;      initialMoveY = dims.height / 2;      moveX = -dims.width / 2;      moveY = -dims.height / 2;      break;  }    return new Effect.Move(element, {    x: initialMoveX,    y: initialMoveY,    duration: 0.01,     beforeSetup: function(effect) { with(Element) {      hide(effect.element);      makeClipping(effect.element);      makePositioned(effect.element);    }},    afterFinishInternal: function(effect) {      new Effect.Parallel(        [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: options.opacityTransition }),          new Effect.Move(effect.element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }),          new Effect.Scale(effect.element, 100, {            scaleMode: { originalHeight: dims.height, originalWidth: dims.width },             sync: true, scaleFrom: window.opera ? 1 : 0, transition: options.scaleTransition, restoreAfterFinish: true})        ], Object.extend({             beforeSetup: function(effect) { with(Element) {               setStyle(effect.effects[0].element, {height: '0px'});               show(effect.effects[0].element); }},             afterFinishInternal: function(effect) { with(Element) {               [undoClipping, undoPositioned].call(effect.effects[0].element);                setStyle(effect.effects[0].element, oldStyle); }}           }, options)      )    }  });}
meta: 1782	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1782/a458ebb30ee90b66048c7fd858f5f39957a9be68/effects.js/clean/webapp/sandbox/scripts/effects.js