pdf.js/web/viewer.html

67 lines
1.9 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>Simple pdf.js page viewer</title>
2011-06-18 08:20:13 +09:00
<link rel="stylesheet" href="viewer.css"></link>
<script type="text/javascript" src="compatibility.js"></script>
2011-06-18 08:20:13 +09:00
<script type="text/javascript" src="viewer.js"></script>
<script type="text/javascript" src="../pdf.js"></script>
<script type="text/javascript" src="../fonts.js"></script>
<script type="text/javascript" src="../crypto.js"></script>
<script type="text/javascript" src="../glyphlist.js"></script>
2011-07-22 07:13:18 +09:00
<script type="text/javascript" src="../utils/fonts_util.js"></script>
</head>
<body>
<div id="controls">
<button id="previous" onclick="PDFView.page--;">
<img src="images/go-up.svg" align="top" height="32"/>
Previous
</button>
<button id="next" onclick="PDFView.page++;">
<img src="images/go-down.svg" align="top" height="32"/>
Next
</button>
<div class="separator"></div>
<input type="text" id="pageNumber" onchange="PDFView.page = this.value;" value="1" size="4"></input>
<span>/</span>
2011-06-14 02:16:03 +09:00
<span id="numPages">--</span>
<div class="separator"></div>
<select id="scaleSelect" onchange="PDFView.scale = parseInt(this.value);">
<option value="50">50%</option>
<option value="75">75%</option>
<option value="100">100%</option>
<option value="125">125%</option>
<option value="150" selected="selected"><p>150%</p></option>
<option value="200">200%</option>
</select>
<div class="separator"></div>
<input id="fileInput" type="file"></input>
<div class="separator"></div>
<span id="info">--</span>
</div>
<div id="sidebar">
<div id="sidebarBox">
<div id="sidebarScrollView">
<div id="sidebarView"></div>
</div>
</div>
</div>
<div id="viewer"></div>
</body>
</html>