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: ''} );
}
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---
