Displaying 1 result from an estimated 1 matches for "current_image1".
2005 Sep 02
0
altering revert effect based on if dropped on given droppable?
...ionally if it wasn''t dropped in the correct place
this is my droppable code:
Droppables.add(''page1'', {
accept: ''image'',
hoverclass: ''drophover'',
onDrop: function(element, lastActive) {
$(''current_image1'').src = element.src ;
element.options.reverteffect = new
Effect.FadeAndRevert(element);
}
}
);
I''ve hacked together this into effects.js
Effect.FadeAndRevert = function(element) {
options = Object.extend({
from: 1.0,
to: 0.0,
aft...