Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Progress bar in IE

Posted on 2003-10-30
12
Medium Priority
?
1,230 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
[X]
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
  • 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 1000 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
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

 
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 1000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
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…

688 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