Gives the illusion of the element puffing away (like a in a cloud of smoke).

Availability

script.aculo.us V1.0 and later.

Examples


  Effect.Puff('id_of_element');

  // with options
  Effect.Puff('id_of_element', {duration:3});

Demo

Click for Effect.Puff demo


Options

Items in bold are default values.

Notes

Works safely with most Block Elements, except tables.