Well when Effect.SlideDown is finished the display property of the element is set to 'none'. So something like this would work very well:
if(element.visible()) element.slideUp(); On Oct 2, 9:55 pm, Mads <[EMAIL PROTECTED]> wrote: > Hey everyone > > I want to call the Effect.SlideUp when I click a link, however, only > if the effect Effect.SlideDown has been called. > > Is there any way to do so? > > Thanks > Mads Hartmann Jensen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
