-
Notifications
You must be signed in to change notification settings - Fork 0
/
exampleindex.html
29 lines (27 loc) · 975 Bytes
/
exampleindex.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<html>
<head>
<title>Converting PDF To Text using pdf.js</title>
<style>
html, body { width: 100%; height: 100%; overflow-y: hidden; padding: 0; margin: 0; }
body { font: 13px Helvetica,sans-serif; }
body > div { width: 48%; height: 100%; overflow-y: auto; display: inline-block; vertical-align: top; }
iframe { border: none; width: 100%; height: 100%; }
#output { padding: 20px; box-shadow: 0 0 5px #777; border-radius: 5px; margin: 20px; }
#processor { height: 70px; }
</style>
</head>
<body>
<div>
<!-- embed the pdftotext web app as an iframe -->
<iframe id="processor" src="index.html"></iframe>
<!-- a container for the output -->
<div id="output">
<div id="intro">Extracting text from a PDF file using only Javascript.<br>Tested in Chrome 16 and Firefox 9.</div></div>
</div>
<div>
<iframe id="input"></iframe>
</div>
<script src="popup.js"></script>
<script src="inline.js"></script>
</body>
</html>