Posts

Showing posts from June, 2020

How to embed a PDF on a webpage

Image
Hi all, To embed a PDF on a webpage use this code, remember to replace [FILEPATHOFPDF] with the actual filepath of the PDF on the website (minus the square brackets): <div id="display-pdf"><object data="[FILEPATHOFPDF]#toolbar=0&navpanes=0&scrollbar=1" type="application/pdf" width="100%" height="600px"> <div id="message"> <p>To view the content in your browser, please <a title="Adobe - Adobe Reader download" href="https://get.adobe.com/reader/">download Adobe Reader</a> or, alternately, <br /> you may <a href="[FILEPATHOFPDF]">Download</a> the file to your hard drive.</p> <p>NOTE: The latest versions of Adobe Reader do not support viewing <acronym title="Portable Document Format">PDF</acronym> files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewi