#1) I use this syntax all the time. How is it possible to use easing effects otherwise?
#2) Thank you for the fix #3) It does that locally for me. Not for you? You need to double click before the animation finishes. I mainly use firefox 3 on WIndows Vista. What is the difference between slideDown / slideUp and the UI blind effects? Thanks, On Jan 12, 6:14 am, "Paul Bakaus" <[email protected]> wrote: > On Fri, Jan 9, 2009 at 5:00 PM, Gabriel Beauchamp < > > [email protected]> wrote: > > > Hello there, > > > I am having an issue with the Effects show/hide functions. > > > First thing is that I cannot do a call like this anymore: > > $(this).show({duration:1000, easing:"easeOutQuart"}); > > There seems to be a missing condition in the source where it checks > > either to apply the jQuery original show function or the jQuery UI show > > function. > > I've never seen that syntax before to call the original show - it's not even > documented:http://docs.jquery.com/Effects > > > > > Second thing is that when I use toggle("blind"), the object returned is > > not the same as toggle("slow"). In toggle("show"), I can do stuff like > > this: > > $(this).toggle("slow").next().hide(); > > the same code, but using $(this).toggle("blind").next().hide(); returns > > null on the next() function call. > > The issue lies within the next(): For the blind animation (and many > options), > the element is temporarily wrapped by another element to make the effect > possible. Since it's wrapped at the point after toggle(), next() won't work, > because > there is no next. This is not a bug in jQuery UI therefore. A simple fix it > to use: > > $(this).toggle("blind").parent().next().hide(); > > > > > Last thing is when using toggle("blind"). When you click once to > > activate the animation and if you are fast enough to click again before > > the animation is complete, the second click will NOT trigger the toggle > > call. For example, go to:http://ui.jquery.com/demos/effects_showhide > > and try clicking a second time before the animation has time to finish, > > you will see that the toggle fails. This causes issues while trying to > > toggleClass some css at the same time. > > This is weird - I tried it out using toggle('blind') locally and it queued > up > just fine - is it happening for you locally? > > > > > I hope that these issues will be considered and fixed. > > > Thanks, > > > Gabriel > > -- > Paul Bakaus > UI Architect > --http://paulbakaus.comhttp://www.linkedin.com/in/paulbakaus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" 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/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
