Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Progress bar in IE

Posted on 2003-10-30
12
1,219 Views
Last Modified: 2008-03-17
The progress bar in Internet Explorer doesn't finish when I use my menu to load a page in an IFRAME.
I've had this problem before and it seems that there are many different reasons for this to happen.
Can anyone give me good pointers on what to look for when trying to solve this problem?
Thanks
0
Comment
Question by:Sanctus
  • 3
  • 2
  • 2
  • +4
12 Comments
 
LVL 15

Expert Comment

by:VincentPuglia
ID: 9650953
Hi,

  don't know that there is anything you can do about it.  The status bar progress bar is for the top/main page.  The iframe is nested.

Vinny
0
 
LVL 10

Expert Comment

by:Nushi
ID: 9653007
>> The progress bar in Internet Explorer doesn't finish when I use my menu to load a page in an IFRAME.
what u can do is to write in the status bar DONE lik ethe explorer does.

i agree with VincentPuglia .
the status bar is an "overeall" status for all items in the page.
the frame cant "tell" top that it was fully loaded.

Nushi.

0
 
LVL 7

Assisted Solution

by:mark-b
mark-b earned 250 total points
ID: 9653537
I've been extremely annoyed that IE seems to have no apparent way to reliably indicate that a page is loading (let alone how close it is to being done with loading).

There are three things in IE that are suppose to tell you that something is loading or in the process of loading.

   1)  The IE Window Icon in top left corner.  If it is moving then is it loading.  It's not reliable.
   2)  The status bar at the bottom will say 'Opening Page...' while loading and 'Done.' when it is finished.  Again this unreliable.
   3)  The progress bar besides the status bar.  Increases during load.  And yes, again, this cannot be relied upon to work correctly.

I've seen cases where a page loads and none those three things are happening.  In fact, I actually had to implement a 'relyable' indicator before.. and this is what I did:

With every page submitted, I do a:
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 7

Expert Comment

by:mark-b
ID: 9653566
(cont)

top.document.title="Project X-  Loading...", and then submit the form.

and, on every page that comes up I do a:
   onLoad="top.document.title='Project X - Last Update: ' + new Date();" in the body tag.

Now, you don't get the state of what 'progress' the load is at, but you do get a reliable indication of when the page is actually loaded (and you can determine the time it took by examining the time in
the top title).

Don't know if this will help, just thought I'd share..
0
 
LVL 15

Expert Comment

by:VincentPuglia
ID: 9653672
Hi Sanctus,

  Most people simply wait for the load to finish (in my case, it sometimes provides enough time to make and drink coffee).

  Is there a specific reason for wanting to know if the iframe's document has fully loaded?  If so, there may be alternatives:

1) use setTimeout() to poll a variable or element in the frame's document.
2) use an alert -- <body onload="alert('done')"
3) capture events until the page is loaded
4) within the page itself, optimize for faster loading (shifting image loading to the main window or loading images after the rest of the page loads, using 2 small tables instead of 1 large one)

Vinny
0
 
LVL 3

Expert Comment

by:makc
ID: 9653815
>> it seems that there are many different reasons for this to happen.

yeah, so why dont let us examine YOUR case ?

0
 
LVL 23

Accepted Solution

by:
sciwriter earned 250 total points
ID: 9654368
There is no solution to this problem.  The progress bar is a feature of the browser itself, not the window or app or Javascript, and there is nothing you can do to solve it, since you don't have access to the MS code in IE from JS.  The progress bar in Windows 2003 is worse still.  MS can never get progress bars right, at least not in the last 15 years.  
0
 
LVL 3

Expert Comment

by:makc
ID: 9665922
solution could be code modification that does not invoke IE bug (if there is one).
but, in order to do that, we need code first :(
0
 
LVL 16

Expert Comment

by:jaysolomon
ID: 10346332
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: VincentPuglia {http:#9650953}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jAy
EE Cleanup Volunteer
0
 
LVL 3

Author Comment

by:Sanctus
ID: 10353958
I eneded up not solving this problem, mainly because the solution didnt seem easy out-of-the box, and the consequences are not terrible...
I guess it's a MS problem, so Ill divide the points between those who answered this way.

0
 
LVL 3

Author Comment

by:Sanctus
ID: 10353991
I want to divide points 50-50 between mark-b and sciwriter

How can I do that?
0
 
LVL 3

Author Comment

by:Sanctus
ID: 10354019
Ok, got it.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question