Generally I just keep track of whether it's open or not in a variable
and check that variable before creating a new animation.  So, only do
the animation if the menu isn't open.

Greg

> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Tom ...
> Sent: Wednesday, January 11, 2006 4:21 AM
> To: [email protected]
> Subject: [Rails-spinoffs] [scriptaculous] Intermitently Disabling
Clicks
> 
> I have button that slides down a menu using Effect.BlindDown, but the
> function that slides it down also makes it so that the opening link
> now slides the menu back in.
> 
> If the user double clicks the link (thuse opening & closing
> immediatley) the slide animation breaks, then will not extend
> correctly (but no JS errors). How would you go about stopping this
> happening?
> 
> Also, is it just me or is the wiki down more often that not?
> 
> Tom Rix.
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to