Problem solved... afterFinish...
new Effect.Highlight($(''contentresizecell''), {
startcolor: ''#FFFFFF'',
endcolor: ''#FF0000'',
delay: 2,
duration: 2,
afterFinish: resize.afterFinish.bind(resize,
''#FF0000''),
queue: {position:''end'', scope:
''highlightscope''}
});
new Effect.Highlight($(''contentresizecell''), {
startcolor: ''#FF0000'',
endcolor: ''#FFFFFF'',
delay: 5,
duration: 2,
afterFinish: resize.afterFinish.bind(resize, '''' ),
queue: {position:''end'', scope:
''highlightscope''}
});
} ,
afterFinish: function(sColor) {
$(''contentresizecell'').setStyle( {backgroundColor: sColor,
backgroundImage: ''''} );
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---