Trapping errors inside IFRAME

B

Bwig Zomberi

Hi,

On a web page, I display a PDF using Google PDF Viewer. This viewer
loads in an IFRAME. Because of a Javascript error, it does not display
the PDF. This happens only when the PDF is displayed inside the IFRAME.
The PDF viewer works without any problem in a new window.

Error: this.C[f] is undefined
Source File: http://docs.google.com/gview/resources_gview/client
/js/2363206441-gview_local_gview_base_mod.js
Line: 408

For a solution, I would like to display the IFRAME hidden from view and
if there are any errors, I would like to open the PDF viewer a new
window instead.

How can I trap the error on the IFRAME?

The URL is
http://is.gd/CFYb7f
http://www.vsubhash.com/article.asp?id=114&info=World_Government_For_Dummies#googledocsviewer1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top