> > >
> >
> > IE doesn't expose info on the current progress of an image download.
All
> > you get is a few changes in state when the download starts to received
data
> > and when the data had complete arrived. You get nothing in between.
> >
> > The best you can do is guestimate the time involved in the download and
use
> > a window.interval to call an update progress function. In this function
> > test the readyState of the image if still loading update your progress
info
> > based on time elapsed otherwise set progress to 100% and kill the
interval
> > handle.
>
> Hi Anthony Jones,
>
> i think your "IE doesn't expose info on the current progress of an
> image download."
> is in correct.
>
> look at this link, see the status bar on the IE, which displays:
> 10 items left
> 9 items left
> ...
> (the displaying happens real fast)
> http://images.google.co.il/images?hl...=Search+Images
This is updating the as each individual image is complete. You could get
access to this by attaching an event handler to each img in your page. But
your post indicates that you are downloading a single large image.
>
> and i have another example, on my intranet, a page that i worte. i
> didn't write anything special for the behaviour of the status bar i
> desrcibed.
You're refering to the IEs own internal updating to the status bar. IE has
access to the internal workings of the Wininet stack and can therefore can
do things like that as well as show a download progress bar (not that it's
all that reliable anyway). However that does not mean that IE provides any
API by which a page developer can get access to these events. It doesn't.
>
> about your suggestion, i'm trying to think about over.
>
How about letting IE's solution BE the solution?