Hey Jay,

Use the "new" operator for creating your effects, otherwise they won't
be able to run properly when combined.  As for the queues, you *should*
use a custom queue indeed, instead of the global queue.  But then, you
need not only the position, but also the scope (the name of the queue).

Here's a per-element queue that should work:

Effect.myEffect = function(elt) {
  new Effect.Grow(elt, { direction: 'top-left', duration: 5,
    queue: { scope: elt.id, position: 'end' });
  new Effect.Pulsate(elt, {queue: { scope: elt.id, position: 'end' });
}

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to