""I think you are asking if there''s a way to only BlindDown
if the object isn''t already down""
yes is it.
My Exemple:
I have one div to store a form
I use this form to create new registers or update.
when the user click in the new button, I use Effect.toggle to show the element
when the user click to update some register I want that the div that I used to
store the form blidnDown only if it is not down,
got it?
don''t know how to know if it is down or not.
Bauser, Joseph (Joe) escreveu:> Please clarify or give an example of what you _don''t_ want.
>
> I think you are asking if there''s a way to only BlindDown if the
object isn''t already down.
> The problem being that if you use Effect.BlindDown on an element which is
already down, it disappears, then blinds back down.
>
> If so, the state of your elements should be managed by you.
> If you have one element which is never removed or replaced, and you want it
to blind up and down based on a single click event, your event should track the
state of the element itself.
>
> It''s up to you to manage the state of your elements.
>
> -----Original Message-----
> From:
rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org]On
Behalf Of
> Fernando
> Sent: Wednesday, July 12, 2006 9:46 AM
> To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> Subject: [Rails-spinoffs] How to know is an Element is BlindDown
>
>
> I want to BlindDown an element only if it is not is,
> if I just use BlindDown if the element is down, it will Up and after
> blinddown, but I don''t want that the element ToogleUP if it is
down
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>