Re: Problem with graphics.

Diodeus
Thu, 28 Feb 2008 17:55:36 -0000

I am not sure what you''re asking for.

On Feb 28, 11:12 am, Luca Servalli
<luca.serva...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I have a big very big problem...
> I have to do big elaboration on client size with a progress bar but i
> can''t do because javascript doesn''t have a function like
doevents of
> visual basic.
> a small sample is this:
> -------------------------------------------------
> setTimeout(function(){
> for (i=0; i<100; i++) {
>    for (y=0; y<10000; y++) {
>       progressBar2.innerText = y
>    }
>    $(''button'').fire(''foo:bar'',
''foobarbaz'');
>
> }
> }, 1000);
>
> $(''button'').observe(''foo:bar'',
function(evt){
>      progressBar1.innerText = Number(progressBar1.innerText) + 1});
>
> ----------------------------------------------
> where progressbar1 and progressbar2 is a sample div.
> only when then for is finish a see then number in progressBar1 and
> progressBar2.. I would like to see 1,2,3,4,5,6....
> ecc...
> Please help me.........