Just an example.
CODE:
-
/**
-
* Collects all inner elements and resizes accordingly.
-
* @method resizeAll
-
*/
-
this.resizeAll = function () {
-
var tempEL = el;
-
var tempObj = tempEL.getElementsByTagName("img");
-
for(i=0;i<tempObj.length;i++){
-
var tempAnimation = new YAHOO.util.Anim(tempObj[i].getAttribute("id"), this.attributes, this.duration, this.method);
-
tempAnimation.animate();
-
}
-
var tempObj = tempEL.getElementsByTagName("input");
-
for(i=0;i<tempObj.length;i++){
-
var tempAnimation = new YAHOO.util.Anim(tempObj[i].getAttribute("id"), this.attributes, this.duration, this.method);
-
tempAnimation.animate();
-
}
-
-
}