The show, hide, toggle methods are great on the element object but it
would also be nice to have a setVisisble(boolean) method. This allows
you to set the visibility of an element depending on a Boolean
expression. With the current api you have to if else this behavior.



With the current api you would have to do something like this:

}else {

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to