I have a iframe name=pdf. How do I get Google viewer jquery to open a document in my iframe name PDF. I will be having a list of links on the left of the page and then have the links open in the pdf iframe. I would like the files to open in the iframe using Google viewer jquery. I have tried
Code: Select all
<a href="http://docs.google.com/viewer?url=http%3A%2F%2Fchris122380.x10.mx%2Fdemo%2Fspec%2F011000.pdf" target="pdf">
but the link dosen't open in the iframe like it is supposed to it opens in a new tab. If I use the link to a pdf then it will open in the iframe but using the default viewer wish isn't what I need (I may be using word documents that I would also like opened in the iframe using Google Viewer).
How do I get Google Viewer to open in a target iframe?