资 源 简 介
do-pdf - The solution to all web based PDF viewing problems
Showing a pdf on a web page is a pretty standard requirement for a lot of applications. Usually people take following approaches for showing the pdf
Render the PDF document directly on the page
Let users download the PDF document
User iframes to embed the PDF document in the part of your web page and rest of the space is used by other content.
Following are the cons associated with these approaches
User loses context of the site he was browsing
User is navigated away from your web page
Only after downloading the entire complete document, user can start viewing it
It is not possible for the user to view only parts of the document quickly.
If the document is very big, this would mean a significant waiting time
Special browser plug-in is required to view the PDF directly in the browser.
Host website h