Browse Source

Zoom In/Out buttons

notmasteryet 14 years ago
parent
commit
8dfaf760f1
  1. 8
      web/viewer.css
  2. 3
      web/viewer.html

8
web/viewer.css

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

3
web/viewer.html

@ -45,6 +45,9 @@
<option id="pageFitOption" value="page-fit">Page Fit</option> <option id="pageFitOption" value="page-fit">Page Fit</option>
</select> </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> <div class="separator"></div>
<button id="print" onclick="window.print();"> <button id="print" onclick="window.print();">

Loading…
Cancel
Save