Dean a écrit :

> Gave all my toggle targets an id and all works now.  Don't know why
> this is a dependency, but I'm happy it works.

It's a subtle problem :). A Queue is created to launch effects in
parallel. In toggle, we try to create a queue with the element id as
identifier, else we use the global queue. But when we use the global
queue by default you can't have parallel effects.

The solution: define the queue when you call toggle, like this:
MochiKit.Visual.toggle( this.toggles[c], 'appear', {"queue": {"scope":
"test" + c, "limit": 1}});

Then the id won't be necessary anymore.

-- 
Thomas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to