Capture the progress bar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • epots9
    Recognized Expert Top Contributor
    • May 2007
    • 1352

    Capture the progress bar

    I'm just wondering if it is possible to capture the progress bar in ie/ff?
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    hi epots,

    could you explain in more detail what you mean? i guess that you speak about the progress-bar in the status-bar of the browser? could you give an example for the requirement?

    kind regards

    Comment

    • epots9
      Recognized Expert Top Contributor
      • May 2007
      • 1352

      #3
      yes that is correct, i am talking about the progress bar in the status bar of the browser.

      what i want to do is get the value of it when it is loading. what i am trying to do it use the data that it shows to determine how much of a file has been uploaded. (i'm using php and an iframe for uploading, so the page doesn't refresh). The progress bar does appear and move, for small files its quick but larger files it takes a little bit, so i know its working.

      my requirements are not to make the page refresh but show the user something so they know that the page is working.

      So if i could retrieve the value of the progress bar it would make it much easier for me or else i'll have to try something else.

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5390

        #4
        i doubt that we could use the browsers progress bar but may be acoders link in post #2 would help you? :)

        kind regards

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          ...or you can use an Ajax file upload progress bar. Try one like Uber Uploader or find a suitable one by searching for "ajax file upload progress bar". I don't think there's a pure PHP one because PHP doesn't give information about the file size during upload whereas Perl does.

          Comment

          • epots9
            Recognized Expert Top Contributor
            • May 2007
            • 1352

            #6
            thanks, i'll give both a try

            Comment

            Working...