Zoom In/Out buttons

This commit is contained in:
notmasteryet 2011-09-02 20:36:17 -05:00
parent a56f36e350
commit 8dfaf760f1
2 changed files with 11 additions and 0 deletions

View File

@ -21,6 +21,8 @@ body {
height: 40px;
width: 100%;
z-index: 1;
white-space:nowrap;
overflow: hidden;
}
.separator {
@ -63,6 +65,12 @@ span#info {
}
}
#zoomOut, #zoomIn {
font-weight: bold;
font-size: larger;
width: 32px;
}
/* === Sidebar === */
#sidebar {
position: fixed;

View File

@ -45,6 +45,9 @@
<option id="pageFitOption" value="page-fit">Page Fit</option>
</select>
<button id="zoomOut" onclick="PDFView.zoomOut();" title="Zoom Out">&ndash;</button>
<button id="zoomIn" onclick="PDFView.zoomIn();" title="Zoom In">+</button>
<div class="separator"></div>
<button id="print" onclick="window.print();">