Fernando wrote:
> 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
This will work if your element starts out as "display:none".
if( Element.visible('some_div') ) {
Element.BlindUp('some_div');
} else {
Element.BlindDown('some_div');
}
--
Michael Peters
Developer
Plus Three, LP
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs