clifforama a écrit : > Hi, > > I believe I might have use for such functionality, but was wondering if > this cancels all current effects, or only effects for the same element? > Is there a way to make it behave one way or the other?
Yes, there's the notion of scope. You can look at the documentation here (search Effects Queue): http://mochikit.com/doc/html/MochiKit/Visual.html Basically it cancels the effects under the same scope. By default it's the global scope, so it's all effects, but you can define your own scope like this: slideDown('myelement', queue: {'position': 'break', 'scope': 'myelement'}); -- 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 -~----------~----~----~----~------~----~------~--~---
