HTML5 Canvas Library
 

flyToElement Library Method

Short Description: Move object to HTML Element

Signature: t.flyToElement (el)
Group: Motion
Class: transition Class
 

Makes the object to move to the position and resize to another HTML element given as el. el may point to a DOM node or it may contain a string denoting the id of an HTML element.

Only one of flyHome, flyToElement and to may be used once on a single transition.

Examples

var a=taccgl.actor("testimg"); a.flyToElement("pgMiddleColumnTable").start();
a.cont().flyToElement("testimg").start()
RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:transition.scalarAcceleration - Give Acceleration as Scalar Value
Previous Page: transition.rotateHome - Rotate into home position