[thelist] detecting when a pdf is loaded

Anthony Baratta anthony at baratta.com
Fri Apr 25 15:39:22 CDT 2008


The iFrame should have an onload event that you can use to switch out the image for the iFrame. Note: this might not always work for those people that force download of PDFs instead of displaying them "inline".

-----Original message-----
From: "Jeremy Weiss" eccentric.one at gmail.com
Date: Fri, 25 Apr 2008 11:25:36 -0700
To: Evolt thelist at lists.evolt.org
Subject: [thelist] detecting when a pdf is loaded

> I've got a friend who is trying to launch a pdf in an iframe. However,
> she's wanting to display some sort of 'please wait' graphic while the
> pdf file downloads and opens. Problem is, we can't figure out how to
> detect when the pdf is loaded so that we can hide the graphic. Anyone
> run into this before?
> 
> -jeremy
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 



More information about the thelist mailing list