Animated gif/jpg

T

Tlink

Is it possible to activate a animated item once the form/page is submitted
for processing, as I have a number of forms that take a while and the users
keep submitting the page thereby restarting the process.
Any help would be appreciated.
 
G

Guest

Your main goal should be to prevent users from submitting your forms more
than once. There is plenty of good sample code on different ways to do this.
Regarding showing an animated gif, once you set the src property of the
image control, the gif will be loaded and start playing. There are many other
ways to show a "working..." message while a long running process is
completing.
Peter
 
R

Rick Strahl [MVP]

Hey Peter,

Actually I think it's surprisingly difficult to get images to work correctly
in these scenarios because IE has issues starting up animated gif's from
invisible or hidden content. If I remember right the only thing I got to
work consistently was to use a frame container with the message display
loaded into that.

http://west-wind.com/weblog/posts/1227.aspx

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com/weblog
 
B

bruce barker

in general the browser will not an animation tread (or download a new
image) while a postback is processing. caching the imag, starting the
animation, then delaying the postback (use setTimeout to do the submit)
sometimes works.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top