Hi there,
Elad a écrit :
> Thanks, this really does help me a lot, but still it's not exactly
> what I wanted -
> 1. I need a pause between each fadein and fadeout. something like 3
> seconds.
> 2. I need 4 div's, and in this way, the code gets really ugly -
This exact same need has been answered countless times on the list.
Please, people, *search* the list's archives before posting.
In essence: you need to use effect queues. These let you queue as many
effects as you need, which sounds good for you. On the other hand, in
order for the delay to be present between fades (btw, 3 secs will lose
your users IMHO), you need to set your effect's delay option accordingly.
Here's a small example:
new Effect.Fade('someID',
{ queue: {scope: 'fadeovers', position: 'end' });
new Effect.Appear('someID',
{ queue: {scope: 'fadeovers', position: 'end', delay: 3 });
...
'HTH
--
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---