Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread How to realize a spinner...
Sun, Dec 29 2013 12:19 PMPermanent Link

Uli Becker

Hi,

I'd like to display a spinner during some requests. No problem to make
an animated gif and load it into a TImage component.

When the requests are executed, the animation is interrupted though.

Any idea how to avoid that?

Thanks Uli
Sun, Dec 29 2013 3:25 PMPermanent Link

Matthew Jones

Uli Becker <johnmuller54@gmail.com> wrote:
> I'd like to display a spinner during some requests. No problem to make an
> animated gif and load it into a TImage component.
>
> When the requests are executed, the animation is interrupted though.
>
> Any idea how to avoid that?

Which browser? I did that and it worked fine. IIRC I posted a web page that
generates an animated spinner GIF according to specifications.

--
Matthew Jones
Sun, Dec 29 2013 4:50 PMPermanent Link

Uli Becker

Matthew,

> Which browser? I did that and it worked fine. IIRC I posted a web page that
> generates an animated spinner GIF according to specifications.

Chrome and IE8.

You mean this one:?

http://www.ajaxload.info/

If so, yes. I created the spinner there.

Uli
Mon, Dec 30 2013 4:04 PMPermanent Link

Leslie

Uli,

With Webworkers you can have paralell processing. The logic is the same as with desktop apps: better keep the time consuming stuff out of the main thread.

Cheers,
Leslie
Mon, Dec 30 2013 8:17 PMPermanent Link

Leslie

I meant parallel.
Tue, Dec 31 2013 5:09 AMPermanent Link

Uli Becker

Leslie,

> With Webworkers you can have paralell processing. The logic is the same as with desktop apps: better keep the time consuming stuff out of the main thread.

Thanks, but if there isn't a simpler solution, I'll do it without an
animated spinner.

Uli
Tue, Dec 31 2013 6:13 AMPermanent Link

Matthew Jones

> > Which browser? I did that and it worked fine. IIRC I posted a web
> > page that
> > generates an animated spinner GIF according to specifications.
>
> Chrome and IE8.
>
> You mean this one:?
>
> http://www.ajaxload.info/
>
> If so, yes. I created the spinner there.

Yes - I didn't notice any issues with my spinner and making https requests. Maybe I
just didn't notice it though.

/Matthew Jones/
Image