Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML JavaScript

jquery Google Viewer target iframe

Javascript coding ..

Moderators: macek, egami, gesf

jquery Google Viewer target iframe

Postby chris122380 » Mon Aug 27, 2012 7:42 am

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?
chris122380
New php-forum User
New php-forum User
 
Posts: 30
Joined: Mon Jun 25, 2012 12:41 pm

Return to JavaScript

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron