You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
803 B
35 lines
803 B
<!doctype html> |
|
<html> |
|
<head> |
|
<title>pdf.js Sandbox</title> |
|
<base href="<%.Cfg.B%>"> |
|
<style type="text/css"> |
|
html, body { |
|
height:100%; |
|
} |
|
body { |
|
margin:0; |
|
padding:0; |
|
max-width:100%; |
|
max-height:100%; |
|
overflow:hidden; |
|
} |
|
#container { |
|
width:100%; |
|
height:100%; |
|
} |
|
canvas { |
|
margin:0 auto; |
|
position:relative; |
|
display:none; |
|
background:white; |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
<div id="container"> |
|
<canvas id="canvas0"></canvas><canvas id="canvas1"></canvas> |
|
</div> |
|
<script src="<%.Cfg.S%>/js/sandboxes/pdf.js" data-parent-origin="<%.Origin%>" data-pdfjs-url="<%.Cfg.S%>/js/libs/pdf/pdf.js" data-pdfjs-worker-url="<%.Cfg.S%>/js/libs/pdf/pdf.worker.js" data-pdfjs-compatibility-url="<%.Cfg.S%>/js/libs/pdf/compatibility.js"></script> |
|
</body> |
|
</html>
|
|
|