473,378 Members | 1,605 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,378 software developers and data experts.

Please Wait Display

I have multiple functions that dynamically build parts of a page. It
can take 15-30 seconds for this process to complete. In IE nothing
appears until the page is complete. In Netscape parts of the page
appear as built.

Is there any way to display a "Please Wait" message that displays as
soon as the first javascript begins and disappears when the javascripts
have completed? Some scripts are in the header and some in the body. I
have tried to put a message in a separate <div> but in IE it does not
appear until the page is completed. It may work in Netscape with a high
z-index allowing the page to build under it.

--
Dennis M. Marks
http://www.dcs-chico.com/~denmarks/
Replace domain.invalid with dcsi.net
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 20 '05 #1
4 3281
Dennis M. Marks wrote:
I have multiple functions that dynamically build parts of a page. It
can take 15-30 seconds for this process to complete. In IE nothing
appears until the page is complete. In Netscape parts of the page
appear as built.

Is there any way to display a "Please Wait" message that displays as
soon as the first javascript begins and disappears when the javascripts
have completed? Some scripts are in the header and some in the body. I
have tried to put a message in a separate <div> but in IE it does not
appear until the page is completed. It may work in Netscape with a high
z-index allowing the page to build under it.


Hi,

Why not start by creating a small pop-up window with 'please wait', and end
the page with a close command on that pop-up window?

Regards,
Erwin Moller
Jul 20 '05 #2

"Dennis M. Marks" <de******@domain.invalid> wrote in message
news:030320041914430518%de******@domain.invalid...
I have multiple functions that dynamically build parts of a page. It
can take 15-30 seconds

Crikey, that long just for the page to display. Hmmm, I'm long gone :-)

URL?

Cheers
Richard.
Jul 20 '05 #3
Dennis M. Marks wrote:
I have multiple functions that dynamically build parts of a page. It
can take 15-30 seconds for this process to complete. In IE nothing
appears until the page is complete. In Netscape parts of the page
appear as built.

Is there any way to display a "Please Wait" message that displays as
soon as the first javascript begins and disappears when the javascripts
have completed? Some scripts are in the header and some in the body. I
have tried to put a message in a separate <div> but in IE it does not
appear until the page is completed. It may work in Netscape with a high
z-index allowing the page to build under it.


Here is a wacky idea... it might work, but it is a real hack...

Load a "Please Wait" page, with a hiddn IFRAME, which loads your page.
In the main page, have an onLoad handler that looks for the existence of
the "Please Wait" page. If it exists, replace the HTML element's
outerHTML property with the one of the full page.

Basically, you load the big page in the background, and replace the
small page with the big page, when it has loaded.

I have not tested this... it is only meant for brainstorming.

Brian

Jul 20 '05 #4
On Wed, 03 Mar 2004 19:14:43 -0800, "Dennis M. Marks"
<de******@domain.invalid> wrote:
I have multiple functions that dynamically build parts of a page. It


Try with a layer, get inspiration here:

<MP************************@nntp.lucent.com>
--

find clausen
http://www.photopress.dk
Jul 20 '05 #5

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

Similar topics

0
by: Pudibund | last post by:
Ok, I've spent nearly a week trying to sort what should be an easy task to accomplish but I'm totally flumoxed! I want to do something pretty simple... 1. display image1 2. wait until...
0
by: s_erez | last post by:
Hi, This is a realy tricky one. I have an ASP.NET application where some pages are reading data from a DB and presenting reports. In order for the user to wait while the page is reading data from...
4
by: dave | last post by:
Hi guys I display one page in popup window...that fetches some data from sql and perfom some calculation (tht approx 10 secs) and display result.... I am trying to display "Please wait ..."message...
3
by: John Dalberg | last post by:
Hi I have a form that opens a new window for the results. Because the results might take a few seconds due to server processing, I would like to display a message "please wait" in the new...
1
by: joe kenney | last post by:
I have a question on designing a please wait aspx page. Currently I have a test.aspx page with codebehind page and page_onload contains my stored procedure calls. I've create something similar in...
6
by: Jeremy Chapman | last post by:
I have a button on my page which when clicked redirects to another page. on the page load of the page that I've redirected to, there is a long query. What I want to do is with dhtml, display test...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
9
by: jodleren | last post by:
Hi I have never done this before... but I could use it now. How do I create a "please wait" page, which will "reload" once my real page is ready? I am talking of a waiting time of some 10-20...
1
by: =?Utf-8?B?Sm9obiBXYWxrZXI=?= | last post by:
Hi, I have a webpage designed with asp.net 2.0. Is there a way to display a "please wait" message to the screen horizontally centered and veritcally 20px from the VISIBLE top of the page,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.