I'm trying to use the Effect Queues but I can't figure out how to
insert a standard function between my 2 effects. I've tried:

setTimeout("$('caption').innerHTML = caption",300);
new Effect.Opacity('caption', {to:0.0, duration: .3, queue:
{position:'front', scope: 'caption'} });
new Effect.Opacity('caption', {to:1.0, duration: .3, queue:
{position:'end', scope: 'caption'} });


I've also tried:

new Effect.Opacity('caption', {to:0.0, duration: .3, queue:
{position:'front', scope: 'caption'} });
new Effect.Opacity('caption', {to:1.0, duration: .3, queue:
{position:'end', scope: 'caption'} });
var captionQ = Effect.Queues.get('caption');
var captionC = 1;
captionQ.each(function() {
                if(captionC == 2){
                        $('caption').innerHTML = caption;
                }
                captionC++;
        });


So how exactly do I perform this feat?


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to