I apologize for the interruption. However, seabreezecomputers.com has been offering free tools and downloads for many years. Unfortunately, server expenses are now starting to exceed revenue earned. If you appreciate the free tools and downloads at seabreezcomputers.com please consider making a donation. Thank you to all those who have donated.
Downloaded 0 times.
This script is provided for free but please consider making a donation to help with server costs and other expenses.
11/02/2014 - v. 1.45 - Decided to uncomment line 210 checkstate(); to check the readyState of the document more quickly in most browsers like Chrome, IE, Safari, Firefox, Opera. Therefore, the bar will now close more quickly in these browsers. Also upped the speed of updating the progress bar on line 218 and lowered the time for closing the bar completely in offbeat browsers on line 47.
4/13/10 - v. 1.4 - Bug fix from Martijn189 to help the bar not go past 100%. Added max-width to progress bar div and added a line to make percent only go to 100.
5/30/09 - v. 1.3b - Converted all html tags in the progress bar to lowercase so that it would be compatible with xhtml.
5/27/09 - v. 1.3 - The progress bar was not displaying correctly if doctype was strict. "http://www.w3.org/TR/html4/strict.dtd". Part of the problem was that strict doctype requires that top, left, height and width settings be followed by px. I went through progress.js and added + 'px' to every line that needed it including: document.getElementById('bar').style.width = new_width + 'px'; Now it seems to work fine in strict mode.
9/19/07 - v. 1.2 - Previously if you had a VERY large document and/or a lot of ads like adsense ads that were slow loading and/or a user was accessing your web page using dial-up, then the progress_bar() function would just count 1 or 2 images for the document even though there might be 5 or 6. When this happened the progress bar would close prematurely. So now there are added functions to make sure that the body of the document is completely loaded before we close the progress bar. That way the script can count the true amount of images on the page with var image_count = document.getElementsByTagName("img").length;.
For the most popular browsers (IE, Netscape, Firefox, Safari)
I was able to use some built-in functions to check to see if the
document was loaded.
9/18/07 - v. 1.1 - Previously if a very large image was loading then the progress bar would sit there at a certain percentage. Now the progress bar will move up 1% every second until the image is done loading or until the bar reaches the next bar_part's percentage (where it should be for the next image.)
9/6/07 - v. 1.0 - Progress Bar Created