html页面读取PDF小案例

html页面

引用<script src="js/pdfobject.js" type="text/javascript" charset="utf-8"></script>

<div id="pdf" style="height: 400px;width: 600px;"/>

js添加

window.onload = function (){
var success = new PDFObject({ url: pdf文件路径 }).embed("pdf");
};

点击下载pdfobject.js

not applicable: Specified browser is not produced for this operating system.
no Adobe Reader plugin: Adobe Reader unavailable for this browser/OS combination.

详情:http://www.pdfobject.com

posted @ 2014-06-16 16:49  月与光舞  阅读(1006)  评论(0编辑  收藏  举报