Displaying 1 result from an estimated 1 matches for "330px".
Did you mean:
30px
2005 Sep 02
0
altering revert effect based on if dropped on given droppable?
...}
}
);
I''ve hacked together this into effects.js
Effect.FadeAndRevert = function(element) {
options = Object.extend({
from: 1.0,
to: 0.0,
afterFinish: function(effect)
{
alert(element.style.left);//ok this works
element.style.width = "330px"; // and this
oEl = $(element);
oEl.style.left = ''500px'' //and this
effect.setOpacity(1);
}
}, arguments[1] || {});
return new Effect.Opacity(element,options);
}
maybe my brain is too tired but I can''t see how in the FadeAndRevert
f...