2 Star 24 Fork 17

liuyaqi / PDFViewer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 499 Bytes
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html>
<head>
<title>Show PDF</title>
<meta charset="utf-8" />
<script type="text/javascript" src='pdfobject.min.js'></script>
<style type="text/css">
html,body,#pdf_viewer{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="pdf_viewer"></div>
</body>
<script type="text/javascript">
if(PDFObject.supportsPDFs){
PDFObject.embed("index.pdf", "#pdf_viewer" );
} else {
location.href = "/resume/canvas";
}
</script>
</html>
1
https://gitee.com/liuyaqi/PDFViewer.git
git@gitee.com:liuyaqi/PDFViewer.git
liuyaqi
PDFViewer
PDFViewer
master

搜索帮助