473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Animated Processing

I'm trying to show an animated image temporarily while the web server is
processing a long request. I attempted to use a combination of CSS
styles and JavaScript to temporarily hide or show only appropriate
portions of the page (e.g. hide the data and show an animated
"processing" image while the server is doing work), however, it's not
exactly working out the way I had hoped.

What's the best way to accomplish this task?

Thank you in advance,

--
Sean
Feb 13 '06 #1
4 1565
How are you making the request to the server? Is it a standard
postback, or an out-of band AJAX call?

And what exactly is the problem with the way you're doing it?

Feb 13 '06 #2
Flinky Wisty Pomm wrote:
How are you making the request to the server? Is it a standard
postback, or an out-of band AJAX call?
Right now, it's a standard postback. Would it be different if it were a
callback?
And what exactly is the problem with the way you're doing it?


Basically, it's likely that it's my own lack of education in CSS. I've
had various issues trying to get it to work. One is that my styles
render completely different in IE and Firefox, so I might need to do
some kind of browser hack. However, I've never been able to
successfully create a "perfect" style for either browser, to begin with.

To continue, you need a little more background on my page:

There's a table, a processing image (usually hidden unless the server is
processing) and a footer. The problem lies in the rendering of the
footer. I'd like to create a style that places the footer just under
the last line of the table in the normal page view, and just under the
"processing" image when the server is processing a request.

One attempt placed the footer always under where the processing image
is, regardless of whether or not the processing image was visible (in
other words, potentially right in the middle of the table). Another
attempt always placed the footer just under the last line of the table
(again regardless of if the table was visible or not).

Here is a very rough draft of what I've tried (please note that all
elements are currently visible to make it easier for you to understand):

http://143.247.20.203/test
http://143.247.20.203/test/style.css

What I'd like to accomplish is to have the visible elements always
starting in the upper left-hand side of the page. The footer should
float up and down in relation to whichever element is visible (the table
or the image).

And I'm not even sure that CSS/JavaScript is the answer. There might be
something that ASP.NET has to offer that I'm simply overlooking.

Thank you again for your help,

--
Sean
Feb 13 '06 #3
a postback approach will not work. when the browser performs a postback, it
generally stops performing display updates on the page. generally a animated
gif will not run. you can get the gif to display, by delaying the postback
by using a windows.setTimeout() to perform the postback.

when you see animated gif on a webpage, it usually done with a polling page.
new sites may use ajax.

-- bruce (sqlwork.com)

"Fao, Sean" <en**********@yahoo.comI-WANT-NO-SPAM> wrote in message
news:e9**************@TK2MSFTNGP14.phx.gbl...
Flinky Wisty Pomm wrote:
How are you making the request to the server? Is it a standard
postback, or an out-of band AJAX call?


Right now, it's a standard postback. Would it be different if it were a
callback?
And what exactly is the problem with the way you're doing it?


Basically, it's likely that it's my own lack of education in CSS. I've
had various issues trying to get it to work. One is that my styles render
completely different in IE and Firefox, so I might need to do some kind of
browser hack. However, I've never been able to successfully create a
"perfect" style for either browser, to begin with.

To continue, you need a little more background on my page:

There's a table, a processing image (usually hidden unless the server is
processing) and a footer. The problem lies in the rendering of the
footer. I'd like to create a style that places the footer just under the
last line of the table in the normal page view, and just under the
"processing" image when the server is processing a request.

One attempt placed the footer always under where the processing image is,
regardless of whether or not the processing image was visible (in other
words, potentially right in the middle of the table). Another attempt
always placed the footer just under the last line of the table (again
regardless of if the table was visible or not).

Here is a very rough draft of what I've tried (please note that all
elements are currently visible to make it easier for you to understand):

http://143.247.20.203/test
http://143.247.20.203/test/style.css

What I'd like to accomplish is to have the visible elements always
starting in the upper left-hand side of the page. The footer should float
up and down in relation to whichever element is visible (the table or the
image).

And I'm not even sure that CSS/JavaScript is the answer. There might be
something that ASP.NET has to offer that I'm simply overlooking.

Thank you again for your help,

--
Sean

Feb 13 '06 #4
Hi Bruce,

Bruce Barker wrote:
when you see animated gif on a webpage, it usually done with a polling page.
new sites may use ajax.


Aside from the broad picture, I don't know much about AJAX right now,
though I'm planning on learning it soon. But the term "polling page" is
new to me. Can you please explain what that is?

Thank you again for the response,

--
Sean
Feb 13 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
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...
10
by: Liz | last post by:
All: Can anyone tell me why my animated GIF does not show up as animated when put into a pictureBox?? Thanks. Liz
7
by: Gary Kaucher | last post by:
At the top of the page on my website http://www.itemlook.com I have an animated gif called "eyeline.gif". It has worked fine in the past, but recently I am unable to get it to work using IE6. All...
2
by: Dale Reed | last post by:
Hi, I have a button on an aspx page (I'm using vs2005 with asp2), which when clicked takes a while to do some data processing before it posts back to the screen to display the results. I...
4
by: Chris Moltisanti | last post by:
Hi, I am executing a piece of javascript that does some intensive processing (sorting large tables). This can take a good few seconds so I have an animated gif as a progress bar to let the user...
4
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...
5
by: Tlink | last post by:
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...
7
by: Lemune | last post by:
Hi.. I am developing an application that connect to database on the other side of the net. And each time i want to connect to database and run some sql command, i want my user to know that there...
27
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.