View Full Version : Is there a way to put a pdf viewer in a html doc
10-14-2007, 03:32 AM
I'm running a website that I'm using pdf's for guides and such is there a way instead of it opening in just a viewer but instead I can have it open in the layout so people can use the comment script i have on all my pages. I have seen people do it I just don't know how.
Thanks in advance.
the game hog
10-14-2007, 07:25 AM
You can try putting the location of your PDF file on your server in an iframe... that would be the simplest approach without getting any complex programming involved.
<iframe src="myfile.pdf" width="400" height="400">
Something like that. You can also make it have no scrollbars and stuff. I never got into iframes but it would make sense and be a practicle solution for using a PDF embedded into a page.
10-14-2007, 09:32 PM
The following is shorter and should also work in older browsers that don't recognise iframes.
<img src="myfile.pdf" width="400" height="400">
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.