hi
just a fast question, really dont get it :
_up: function(val,pourcent) {
this.val = val;
this.pourcent = pourcent;
var k=0;
if(k<=val){
$(pourcent).update(parseInt(k/3)+'%');
z=0;
while(z<100)
++z;
setTimeout(function()
{this._up(this.val,this.pourcent);}.bind(this), 80);
++k;
}
},
just a code to increment and screen a var but stay at zero.
tx for any help :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---