View Full Version : readyState for .pdf/.doc/.ppt?

07-08-2005, 07:08 PM
I'm wondering if it's even possible to find the readyState for when a document is loaded into say, an iFrame. I'm checking for the readyState right now on the iFrame, but this fires as "complete" right away, which hides my loading message, and THEN the .pdf/.doc/.ppt loads in the iFrame (loads as in begins to initiate, shows "downloading" in the bottom-left corner).

So once again, I'm looking for some kind of code that will find when the document is done loading and displayed, so I can hide my Loading message then.

Thanks in advance,

07-09-2005, 01:05 AM
readyState seems to work...
<iframe width="590" height="450" style="border:3px double windowframe"
onreadystatechange="status = readyState"></iframe>