Sorry craig, So let's resume: You want when an element was slided down, on a button click to slide it up, and when it's slided up, on the same button click to slide it down !! Am I right ??
If that what you want, to do that, just use the conveniant Effect.Toggle, where documentation is at: sorry no link, because the gitHub website doesn't respond ?!!? >From memories, the Effect.Toggle as three possibilities: Blind (simulate the blind up / blind down effect) slide (to simulate the slideUp / slideDown effect) and every thing is bundle ... Am I right this time ?? -- david On 17 fév, 12:45, craig <bagley.cr...@gmail.com> wrote: > I don't want to click while sliding, I want to perform the opposite > effect of what has already been clicked. If the div has been slid > down, I want to be able to click on the same button to have it slide > back up and vice versa. It isn't an issue of getting the sliding to > work, it already does, its just for convenience, I'd like make it as > simple as possible. --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---