Created
May 27, 2012 22:10
-
-
Save drewpoh/2816100 to your computer and use it in GitHub Desktop.
viewer bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" href="http://fergusapp.com/pdfjs/viewer.css"> | |
<div id="controls"> | |
<button id="previous" onclick="PDFView.page--;" oncontextmenu="return false;"> | |
<img src="http://fergusapp.com/pdfjs/images/go-up.svg" align="top" height="16"/> | |
Previous | |
</button> | |
<button id="next" onclick="PDFView.page++;" oncontextmenu="return false;"> | |
<img src="http://fergusapp.com/pdfjs/images/go-down.svg" align="top" height="16"/> | |
Next | |
</button> | |
<div class="separator"></div> | |
<input type="number" id="pageNumber" onchange="PDFView.page = this.value;" value="1" size="4" min="1" /> | |
<span>/</span> | |
<span id="numPages">--</span> | |
<span id="info">--</span> | |
<button id="print_button" onclick="window.print();" oncontextmenu="return false;"> | |
<img src="http://fergusapp.com/pdfjs/images/document-print.svg" align="top" height="16"/> | |
</button> | |
</div> | |
<div id="errorWrapper" hidden='true'> | |
<div id="errorMessageLeft"> | |
<span id="errorMessage"></span> | |
<button id="errorShowMore" onclick="" oncontextmenu="return false;"> | |
More Information | |
</button> | |
<button id="errorShowLess" onclick="" oncontextmenu="return false;" hidden='true'> | |
Less Information | |
</button> | |
</div> | |
<div id="errorMessageRight"> | |
<button id="errorClose" oncontextmenu="return false;"> | |
Close | |
</button> | |
</div> | |
<div class="clearBoth"></div> | |
<textarea id="errorMoreInfo" hidden='true' readonly="readonly"></textarea> | |
</div> | |
<div id="sidebar"> | |
<div id="sidebarBox"> | |
<div id="sidebarScrollView"> | |
<div id="sidebarView"></div> | |
</div> | |
<div id="outlineScrollView" hidden='true'> | |
<div id="outlineView"></div> | |
</div> | |
<div id="sidebarControls"> | |
<button id="thumbsSwitch" title="Show Thumbnails" onclick="PDFView.switchSidebarView('thumbs')" data-selected> | |
<img src="http://fergusapp.com/pdfjs/images/nav-thumbs.svg" align="top" height="16" alt="Thumbs" /> | |
</button> | |
<button id="outlineSwitch" title="Show Document Outline" onclick="PDFView.switchSidebarView('outline')" disabled> | |
<img src="http://fergusapp.com/pdfjs/images/nav-outline.svg" align="top" height="16" alt="Document Outline" /> | |
</button> | |
</div> | |
</div> | |
</div> | |
<div id="loading">Loading... 0%</div> | |
<div id="viewer"></div> | |
<script type="text/javascript" src="http://fergusapp.com/pdfjs/compatibility.js"></script> | |
<script type="text/javascript" src="http://fergusapp.com/pdfjs/pdf.js"></script> | |
<script type="text/javascript">PDFJS.workerSrc = 'http://fergusapp.com/pdfjs/pdf.js';</script> | |
<script> | |
var kDefaultURL = 'http://fergusapp.com/data/company/1/progress_claims/Invoice_INV-01328.pdf?c=' + (Math.random() * 99999999); | |
var kDefaultScale = 'auto'; | |
var kDefaultScaleDelta = 1.1; | |
var kCacheSize = 20; | |
var kCssUnits = 96.0 / 72.0; | |
var kScrollbarPadding = 40; | |
var kMinScale = 0.25; | |
var kMaxScale = 4.0; | |
var kImageDirectory = 'http://fergusapp.com/pdfjs/images/'; | |
var kSettingsMemory = 20; | |
</script> | |
<script type="text/javascript" src="http://fergusapp.com/pdfjs/viewer.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment