mTagName Library Method
Short Description: Returns an animation set with all elements of given tag name
Signature: taccgl.mTagName (n,k)
Class: taccgl Class
Returns an animation set object containing a transition for each
HTML element of the current document having the specified tag name n.
These new transitions are newly created using the a
method.
By specifying parameter k a kind (see Transition Kind) can be assigned to the transition created.
Examples
var a=taccgl.mTagName("a").paint().rotateMiddle(0,1,0).bgColor("red") .hide().visAtEnd().start(); | RUN |
var a=taccgl.mTagName("h1").paint().rotateMiddle(1,0,0).bgColor("yellow") .hide().visAtEnd().start(); | RUN |
var a=taccgl.mTagName("div").paint().to(0,0,0).bgColor("yellow") .hide().visAtEnd().start(); | RUN |
var a=taccgl.mTagName("img",taccgl.dddBox).paint().rotateMiddle(0,1,0) .hide().visAtEnd().start(); | RUN |
WebGL™ is a trademark of the Khronos Group Inc.
Next Page: taccgl.mSingle - Returns an animation set with given transition
Previous Page: taccgl.mName - Returns an animation set with all elements of given name
|