jQuery.effects.clipToBox()


jQuery.effects.clipToBox( animationProperties )Returns: Objectversion added: 1.12

Description: Calculates position and dimensions based on a clip animation.

This method is useful for mimicking a clip animation when using a placeholder for effects. Given a clip animation, jQuery.effects.clipToBox() will generate an object containing top, left, width, and height properties which can be passed to .css() or .animate(). This method is generally used in conjunction with jQuery.effects.createPlaceholder().