> and after the pdf has loaded the message should be gone. Hmm, off the top of my head I can't think of a "simple" way to detect that the PDF has been downloaded and then modify the content in the browser window.
Maybe you could use simple frames instead and provide a manual "close" icon so that the user can manually "close" the frame that contains the "please wait" style message. This icon would could just trigger some javascript that hides the top frame or alternatively reload the entire page with just the PDF this time. With the latter you might well be back to square one if the browser tries to re-download the PDF. This page contains an example that hides a frame using javascript. http://forums.devarticles.com/t8513/s.html Cheers Abhi On Mon, 25 Oct 2004 14:27:29 +1000, Jason Barnes <[EMAIL PROTECTED]> wrote: > Yeah but the problem with iframe is i want the pdf to load in the browser > and after the pdf has loaded the message should be gone. > > "Jason Barnes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > > Hi, > > > > I currently am streaming pdf files from a secure directory (above the > > webroot) which all works great. The only problem I have is the client > > wants a message to be displayed while the file is loading. My problem is > > as there is a CFHeader telling the browser it is a PDF file the browser of > > course immediately loads the plugin so nothing can be displayed while the > > file is loading. > > > > I know I could load a second popup with this information but i think this > > looks clumsy and would be annoying. Another way to do it would be to show > > the html page first then simply refresh to the streamed file but again why > > make the user wait at all when most files will download pretty quickly. > > > > Any suggestions for how I should handle this? > > > > Cheers, > > Jason. > > > > > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
