Similar to Baidu Library, a div inside the page display PDF file, how to do?

Source: Internet
Author: User
Http://wenku.baidu.com/view/fde7bc878762caaedd33d474.html

Like this.

Baidu Library, a div inside the page display PDF file, how to do?


Reply to discussion (solution)

Plug-in, the client would have supported directly in the browser to see the PDF, you try to remove your browser's PDF plugin, you can not see

Plug-in, the client would have supported directly in the browser to see the PDF, you try to remove your browser's PDF plugin, you can not see

Dizzy, didn't understand.

I mean, if you want to do this effect, how to do it ... Code how to write ...

Flash

There is a software to convert the document into a SWF file, by invoking this software to transform the uploaded document, and then display the SWF file on the page, the user downloads the document file, so that this to handle the thread and so on, our company used. NET to get a library. That's how it's done.

Flash is a good way, but now few people know much about Flash.

PHP seems to have a standalone class to browse the PDF, specifically I forgot. Google can find it!

Landlord this level of mixed, div and Flash are not clear ah.
The webpage you provide is flash.
As for the method of realization, two roads,
Development is easy, but maintenance trouble, is to convert PDF into flash files, many online tools.
Easy to maintain, develop trouble, research as bar. There are APIs that support PDF and Doc.

Landlord this level of mixed, div and Flash are not clear ah.
The webpage you provide is flash.
As for the method of realization, two roads,
Development is easy, but maintenance trouble, is to convert PDF into flash files, many online tools.
Easy to maintain, develop trouble, research as bar. There are APIs that support PDF and Doc.

+1

How the hell did it get?

Not to force Ah, or not to find the answer

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.