I've got a bunnch of pdfs of different sizes and I'd like to build a 'Page Loading' message system for them.
I decided against a timeout as not all pages take the same time to load. I came up with a solution wherein a frameset links to another html page containing the pdf as a iframe.
On the frameset page, I launch a pop up with a 'Page Loading' message. On the page that actually holds the pdf, I've put in an body on-load command to close the pop-up when the page is loaded. I do this so that the page loading message starts when the frameset itself is loaded, and theoretically closes when the linked page is loaded.
The problem is that the on-load seems to be called at odd times, often half way before the pdf is loaded.
Does anyone have any other suggestions?
Thanks in advance
I decided against a timeout as not all pages take the same time to load. I came up with a solution wherein a frameset links to another html page containing the pdf as a iframe.
On the frameset page, I launch a pop up with a 'Page Loading' message. On the page that actually holds the pdf, I've put in an body on-load command to close the pop-up when the page is loaded. I do this so that the page loading message starts when the frameset itself is loaded, and theoretically closes when the linked page is loaded.
The problem is that the on-load seems to be called at odd times, often half way before the pdf is loaded.
Does anyone have any other suggestions?
Thanks in advance