I have a DIV on my webpage that is set to be hidden (style="display : none").
Within the DIV is an animated gif that's simply a graphic that simulates
data flowing from the clients PC to the server. This a form page
(self-submitting). When the user submits the form, I have some Javascript
that sets the DIV to be displayed. The problem is that the animated gif does
not "play". It's displayed in it's static state. WHY? And if I used a Flash
movie, would I have the same problem? 2 5357
"ctrl+alt+delet e" <th********@REM OVEmsn.com> wrote in message
news:tb******** **********@twis ter.socal.rr.co m... I have a DIV on my webpage that is set to be hidden (style="display :
none"). Within the DIV is an animated gif that's simply a graphic that simulates data flowing from the clients PC to the server. This a form page (self-submitting). When the user submits the form, I have some Javascript that sets the DIV to be displayed. The problem is that the animated gif does not "play". It's displayed in it's static state. WHY? And if I used a Flash movie, would I have the same problem?
It is common that gif's stop animating the moment you click to go to a new
page. Submitting a form is the same as that: going to a new page.
You could try a workaround popping up a separate window onsubmit with the
'waiting' gif, that you close with some script on the new page. Or just
trust the user to understand that he has to exercise some patience when he
submits his form. Most people are used to that by now.
--
Ivo
Thanks, that's what I suspected was happening. I used a small Flash
animation instead and now it works great. BTW: It's for a file upload page,
so it can take a while and I just want it to be idiot proof.
"Ivo" <no@thank.you > wrote in message
news:41******** *************** @news.wanadoo.n l... "ctrl+alt+delet e" <th********@REM OVEmsn.com> wrote in message news:tb******** **********@twis ter.socal.rr.co m... I have a DIV on my webpage that is set to be hidden (style="display : none"). Within the DIV is an animated gif that's simply a graphic that simulates data flowing from the clients PC to the server. This a form page (self-submitting). When the user submits the form, I have some
Javascript that sets the DIV to be displayed. The problem is that the animated gif does not "play". It's displayed in it's static state. WHY? And if I used
a Flash movie, would I have the same problem?
It is common that gif's stop animating the moment you click to go to a new page. Submitting a form is the same as that: going to a new page. You could try a workaround popping up a separate window onsubmit with the 'waiting' gif, that you close with some script on the new page. Or just trust the user to understand that he has to exercise some patience when he submits his form. Most people are used to that by now. -- Ivo This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John J. Hughes II |
last post by:
Is it possible using Image or Bitmap to build and save an animated GIF file?
I am not have a problem saving the GIF file just getting the frames added to
it.
I did find ImageAnimator but it only seems to deal with showing the GIF and
not saving it.
Thanks,
John
|
by: Koen Hoorelbeke |
last post by:
Hi there,
I'm trying to read an animated gif from a url (for a banner-rotator). The
code I have now, does read the gif (or jpg), but the result is that I only
get the first frame of the animated gif, AND at a much lower quality :-(
Important to note is that the image is read from a url (from a different
server), and thus NOT from the local disk.
Below is the code I use:
|
by: GrandpaB |
last post by:
I am creating a small simulation in VB and wish to
incorporate several animated GIFS. I can load the GIFS
from the hard drive into a picture box and they animate,
but I have two questions.
1.) Some of the GIFS were designed to play once, but in
my VB application they loop continuously. What must I do
to make them play only once?
2.) When I build the solution for distribution, how do I
|
by: Helmut Giese |
last post by:
Hello out there,
this is OT but maybe some of you were in the past faced with the same
problem: I have lots of sequences of GIF files to combine into
animated GIFs. I can do it 'by hand' with Microsofts Gif Animator, but
given the amount of files I have to process, a tool which can be
controlled from the command line looks much more attractive.
Googling led me to WhirlGif, and I got it compiled (Windows) - but it
appears to not like my...
|
by: Scirious |
last post by:
People, I need a way to detect the moment an animated GIF gets to it's end
to switch to a different GIF. I can't use a Timer because the GIFs have
different times and doing so (as I'm doing at the moment) causes some of
the images to change before ti gets to the end and other run more than one
time.
Do animated GIFs trigger any event I can use to detect when it finished
executing?
If not, is there a way to do it?
| |
by: ZikO |
last post by:
Hi.
I am making a Multimedia Presentation in VB.NET 2005 and I have some
animated GIFs which I need to use. I tried to use PictureBox for it but it
doesn't play an animation in GIFs :/. What I should do to resolve this
problem, do you have any suggestions?
Regards.
|
by: Jeff |
last post by:
Hi,
I'd like to write Javascript that stops animated gifs from animating.
On Firefox, at least, window.stop(); does the trick, although it stops
everything on the page and is kind of unpredictable. If I connect it
to the onload event, sometimes only half the page will be displayed.
Does the onload even fire before rendering?
Does anyone know a reasonable way to accomplish my original goal of
|
by: Phil |
last post by:
I thought it would be nice to display some animated GIFs on some of my
forms. I put a PictureBox control on a form, and loaded my GIF file in. It
animates, but not properly. It seems very jerky and dwells on some frames
longer than it should. Searching for this problem, I have found several
people who have stated that animated GIFs don't work in a PictureBox at all,
and you have to use the ImageAnimator. I assume they must be referring to...
|
by: helraizer1 |
last post by:
Hey,
I have a PHP script that I made for an image based shoutbox with emoticons. The problem is that php GD doesn't support animated gifs, yet perl GD does. How would I make it so that I could copy the animated gifs via Perl onto the static image that I made with php? I've tried with php imagecreatefromgif(), which produces a static image. I also tried using the GIFAnimation class from phpclasses to make an animated gif but it returns it as...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |