Project Documentation


Tag name: <s:effectScale>
Converter class: org.apache.myfaces.custom.effect.EffectScaleBehavior
behavior id: org.apache.myfaces.custom.effect.EffectScaleBehavior
Convenient wrapper for scriptaculous Effect.Appear


Name Type Supports EL? Description
appendJs String Yes
event String Yes The event that this client behavior should be attached.
forId String Yes
percent String Yes Percent value used to indicate the final scale.
scaleContent Boolean Yes Sets whether content scaling should be enabled, defaults to true.
scaleFrom Integer Yes integer value, percentage (0%-100%), defaults to 100
scaleFromCenter Boolean Yes If true, scale the element in a way that the center of the element stays on the same position on the screen, defaults to false.
scaleMode String Yes Either 'box' (default, scales the visible area of the element) or 'contents' (scales the complete element, that is parts normally only visible by scrolling are taken into account). You can also precisely control the size the element will become by assigning the originalHeight and originalWidth variables to scaleMode. Example: scaleMode: { originalHeight: 900, originalWidth: 900 }
scaleX Boolean Yes Sets whether the element should be scaled horizontally, defaults to true.
scaleY Boolean Yes Sets whether the element should be scaled vertically, defaults to true.