|
Effects
ICEfaces uses the script.aculo.us library to provide animation effects. Effects can be easily invoked on components using the effect attribute. The value of the effect attribute is a value binding expression to a backing bean which returns the effect to invoke.
<ice:outputText effect="#{bean.messageEffect}"/>Effects can be customized by modifying the properties of the effect object being used. For example, the effect duration could be changed. For more information, refer to Adding and Customizing Effects.
Effects can also be tied to browser events, such as onmouseover.
<ice:outputText onmouseovereffect="#{bean.mouseOverEffect}"/>These effects will be invoked each time the mouse moves over the outputText component.
See Adding and Customizing Effects for details on how to add effects in your ICEfaces application.
Copyright 2005-2009. ICEsoft Technologies, Inc. |