Link to home
Start Free TrialLog in
Avatar of mytext
mytextFlag for Ireland

asked on

embeding pdf with Google Drive & Joomla

I have embed a PDF file from Google Drive into a Joomla driven site, using the code:

<p><iframe src="http://docs.google.com/open?id=ADDRESS" width="90%" height="480"></iframe></p>

Open in new window


It does display, howeveran the left of the iframe there is a scrolling preview pane of all the pages in the pdf. This takes alot of space on small monitors.

Is ther an option to just display pages in full width?
Avatar of Brian Utterback
Brian Utterback
Flag of United States of America image

Try adding "&embedded=true" to the end of the source URL.
you mention the folder not a single document?

try....(replace documentname.pdf with your document name)

<p><iframe src="http://docs.google.com/open?id=documentname.pdf&embedded=true" style="width:90%; height:480px;" frameborder="0"></iframe>
ASKER CERTIFIED SOLUTION
Avatar of mytext
mytext
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mytext

ASKER

I couldn't get the other solutions to work. It was just one of thoese things where the quickest thing to do was use a different tool. When I tried deleting the question it said if I had an answer to post and accept it.