| re: Please wait image does not animate
"Danny Masti" <dkm77@yahoo.com> wrote in message
news:77aad539.0309170726.477aec00@posting.google.c om...[color=blue]
> Hello,
>
> I have a HIDDEN div with a "Please Wait Message". OnSubmit I show the
> hidden div with the "Please Wait Message". It works fine. But if I
> replace the "Please Wait Message" with an animated gif - the gif shows
> up BUT it does not animate.
>
> How do I make the gif animate?
>
>
> javascript:
> function ShowPleaseWait()
> {
>[/color]
document.all?document.all.wait.style.visibility="v isible":document.layers["w
ait"].visibility="visible";
This line says: show the image on the current page.
[color=blue]
> document.myForm.submit();[/color]
This line says: abandon the current page, including all such things as gif
animations, and start loading a new page from wherever the form points to.
After this point the old page (the one with the gif on) has been discarded.
It is still visible but only because the new page has not been rendered to
the canvas yet.
[color=blue]
> }[/color]
Cheers
Richard. |