There are several shortcuts to initiate visual effects on DOM elements.
fade, highlight, morph, scroll, slide
fade([String how[, Object options]]) -> Element self
fade([Object options]) -> Element self
Runs the Fx.Fade effect on the element.
$(element).fade();
$(element).fade('out');
$(element).fade('in', {onFinish: function() {}});
highlight([String color[, String end_color[, Object fx_options]]]) -> Element self
highlight([String color[, Object fx_options]]) -> Element self
highlight([Object fx_options]) -> Element self
Runs the Fx.Highlight effect on the element.
$(element).highlight();
$(element).highlight('blue');
$(element).highlight({onFinish: function() {}});
morph(Object style[, Object fx_options]) -> Element self
Runs the Fx.Morph effect on the element.
$(element).morph({
width: '200px',
height: '400px'
});