Script.aculo.us

Core Effects

Option since Description
duration V1.0 Duration of the effect in seconds, given as a float. Defaults to 1.0.
fps V1.0 Target this many frames per second. Default to 25. Can’t be higher than 100.
transition V1.0 Sets a function that modifies the current point of the animation, which is between 0 and 1. Following transitions are supplied: Effect.Transitions.sinoidal (default), Effect.Transitions.linear, Effect.Transitions.reverse, Effect.Transitions.wobble and Effect.Transitions.flicker.
from V1.0 Sets the starting point of the transition, a float between 0.0 and 1.0. Defaults to 0.0.
to V1.0 Sets the end point of the transition, a float between 0.0 and 1.0. Defaults to 1.0.
sync V1.0 Sets whether the effect should render new frames automatically (which it does by default). If true, you can render frames manually by calling the render() instance method of an effect. This is used by Effect.Parallel().
queue V1.5 Sets queuing options. When used with a string, can be ‘front’ or ‘end’ to queue the effect in the global effects queue at the beginning or end, or a queue parameter object that can have {position:’front/end’, scope:’scope’, limit:1}. For more info on this, see Effect Queues.
direction ?? Sets the direction of the transition. Values can be either ‘top-left’, ‘top-right’, ‘bottom-left’, ‘bottom-right’ or ‘center’ (Default). Applicable only on Grow and Shrink effects.

José M. Vidal .

3 of 9