How to display pdf content in web page using html5 and jquery?

后端 未结 4 1995
盖世英雄少女心
盖世英雄少女心 2020-12-29 04:04

How to display pdf document inside my div. I am using HTML5 and jquery to build my mobile site. I need to display my pdf d

4条回答
  •  孤城傲影
    2020-12-29 04:46

    What I do is drag the pdf to google drive. Then, click on the new pdf (it will usually be upper left in google drive), click the share icon at the top, go to advanced, then click change and make sure the "Public" radio button is clicked. Click SAVE, then click DONE. Now go back to google drive, click on the pdf to open it, then click the Pop-out icon (upper right, next to the X close icon). Once the pdf is now full screen, click the : more actions icon (three vertical dots) There you will find an "Embed" opportunity. Click that and you get the embed code. Voila!!

    Note: The pdf gotten this way will be ready to paste into your blog or HTML website, AND any links in the document will work!! AND, there will be a little Pop-out icon in the upper right, upon hover, that makes the pdf full screen. And, you can pop it into a div if you want to put more than one on the page. Some examples are up at http://internetpdf.com.

    John Burch

提交回复
热议问题