HTML5 Canvas 3D WebGL (TM) js Library

mp Library Method

Short Description: Perform function on all elements of set

Signature: (f,d)
Class: taccglMulti Class

Performs function f on all elements of the current animation set. f must be a javascript function (a,i,d,m) expecting 4 parameters. The function receives as a the transition to process. i is an integer giving the ordinal number of a in the current animation set. As d the parameter d of the mp method is passed through. m is the current animation set.


var a=taccgl.mTagName("a").paint().
mp(function(a){,a.y,-1000)}).bgColor("red"). hide(). visAtEnd(). start();

WebGL™ is a trademark of the Khronos Group Inc.

Next - Select elements of set based on boolean function
Previous Page: taccglMulti.selVisible - Restrict set to visible elements