Hi all,
I have a simple html page which has links to different forms in .pdf,.doc and .xls format. Some of them are too bulky that it takes time to load, leaving the impression that the browser is hanged. I received several calls from my users, complaining that the browser hangs on clicking the links.
I think it will be a good idea to implement progress bar to show the user the job is in progress. I found few JavaScript. All them are suggesting to put it on ONLOAD="runscript()" of the body tag.
Since the PDF file or DOC file will load the either on a new window or on the same window how can I put it on ONLOAD event of the new document. Second thing how I will stop the progress bar.
I have a simple html page which has links to different forms in .pdf,.doc and .xls format. Some of them are too bulky that it takes time to load, leaving the impression that the browser is hanged. I received several calls from my users, complaining that the browser hangs on clicking the links.
I think it will be a good idea to implement progress bar to show the user the job is in progress. I found few JavaScript. All them are suggesting to put it on ONLOAD="runscript()" of the body tag.
Since the PDF file or DOC file will load the either on a new window or on the same window how can I put it on ONLOAD event of the new document. Second thing how I will stop the progress bar.