Effect.Fade

Makes an element fade away and takes it out of the document flow at the end of the effect by setting the CSS display property to none. Opposite of Effect.Appear

元素消失效果!

Examples
  Effect.Fade('id_of_element');
  Effect.Fade('id_of_element', 
    { transition: Effect.Transitions.wobble })

Options
from: (defaults to current opacity or 1.0)
to: (defaults to 0.0)

http://wiki.script.aculo.us/scriptaculous/show/Effect.Fade

你可能感兴趣的:(css)