Re: Problem with graphics.

Brian Williams
Thu, 28 Feb 2008 21:20:45 -0000

why can''t you use a div, a 1px wide gif image and then make the image
"grow"
via morph in the loop?



On Thu, Feb 28, 2008 at 12:55 PM, Diodeus
<diodeus-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

>
> 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.........
> >