MooTools Class delay
var NaMoo = new Class({
initialize: function(e){
this.box = $('box');
this.cartMark.delay(1000,this);
},
cartMark:function(){
this.box.setStyles({'background':'url('+path+'pic/icon.png) 10px 10px no-repeat #fff'});
}
});
no delay / delay
this.effect(this.se1,1); /* no delay */
this.effect.delay(1000,this.se1,1);
(function() {this.effect(this.se1,1) }).delay(1000,this); /* delay */
Related Posts
MooTools - JSON .bind(this), MooTools - JSON Sort php array, MooTools form set (text, radio, checkbox, select, radio)