Leonardo Soto a écrit : > Hi all,
Hi, [snip] > By 'conflicting' I mean that if blindUp was called in the middle of a > blindDown, it took a non-original height, and set that height to the > element when the blindUp finish and the display is set to 'none'. > Later, blindDown only expand the element to that non-original height, > showing only a fraction of the accordion element. > > Now, my question: How those conditions should be managed?. Is there > any intention to solve them on MochiKit itself? (That is, Scale effect > would detect if another Scale effect is running on the same element > and finish it before running the new scaling) Or is it a resposability > of the MochiKit user? You should look at the toggle function, it does exactly what you want: blindUp/Down, with no conflict. It works using the queue option. I expected to make some docs on it but didn't take the time (yet). It basically use a queue to make it possible, with options to choose when launch effects before or after others. -- 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 -~----------~----~----~----~------~----~------~--~---
