Effect.Fold

Reduce the element to its top then to left to make it disappear.

 

Availability

 

script.aculo.us V1.0 and later.

 

Syntax

 

Effect.Fold('id_of_element');

 

Notes

 

Works safely with most Block Elements, except tables.