I can duplicate.

It works for me in Firefox if I change "position:'end'" to  
"position:'front'" in the Grow queue.

There are some weird things going on.  Oddly, (also in Firefox/OS X)  
if I remove the position attribute from both queues, I can switch the  
order of the effects, and get the same result. (no, it's not cached)   
Perhaps it's running them in parallel (two or three pulsates, not  
five), although it's not visually noticeable for me.  The same occurs  
if I remove the position attribute entirely from the Grow queue  
declaration.


TAG


On Apr 18, 2007, at 10:08 AM, Jay K wrote:

>
> Tom and Christophe, thanks very much for your help.  I've set up a
> test page here:
>
> http://www.autonoetic.com/dev/test/effectQueueTest.html
>
> All my custom javascript is inside that page's source.  I'm using the
> element id as the scope for the queue, as suggested, and calling all
> effects with 'new'.  The effect still seems to be the same; though
> it's tough to say exactly what's happening, I only see the Grow
> effect.  Let me know what you think, and thanks again.
> -Jay
>
> On Apr 18, 2:30 am, Christophe Porteneuve <[EMAIL PROTECTED]> wrote:
>> 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