Animated Gif

2 views
Skip to first unread message

Jaime

unread,
Sep 21, 2009, 6:04:33 PM9/21/09
to ZZEE PHPExe
Quick question about phpexe. My app displayed an animated gif just
after a submit button is pressed and before a form is submitted. The
processing of the form takes a few seconds to execute. During this
this in the phpexe compiled app, the animated gif stops moving. I use
this gif to show some processing is taking place. Is there a way for
the gif to move while the form is processing?

Paul (ZZEE)

unread,
Sep 21, 2009, 6:12:35 PM9/21/09
to php...@googlegroups.com

Hi Jaime,

I think setting "external.buffering = false" should help. It is described
here:

http://zzee.com/phpexe/help.html#flush

And in more detail in this forum post:

http://groups.google.com/group/phpexe/browse_thread/thread/5c7c992a853eb06e

Paul.

Jaime

unread,
Sep 22, 2009, 8:50:37 AM9/22/09
to ZZEE PHPExe
That did not quite work for me, since with buffeting the page just
became blank after the submit, and waited for the form target page to
be drawn. However what I did is to use the replace the animated gif
by a busy cursor by adding the following javascript when my submit
button is pressed

document.body.style.cursor = "wait";

And that produces the effect I needed.

Thanks,
Jaime
> http://groups.google.com/group/phpexe/browse_thread/thread/5c7c992a85...
>
> Paul.
Reply all
Reply to author
Forward
0 new messages