首页 > 网站 > WEB开发 > 正文

html页面读取PDF小案例

2024-04-27 14:22:36
字体:
来源:转载
供稿:网友

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


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表