diff --git a/README.md b/README.md index 9c242d0b8..3b8d86bb1 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,8 @@ This will generate the file `build/pdf.js` that can be included in your final pr You can play with the PDF.js API directly from your browser through the live demos below: -+ Hello world: http://jsbin.com/pdfjs-helloworld/edit#html,live -+ Simple reader with prev/next page controls: http://jsbin.com/pdfjs-prevnext/edit#html,live ++ Hello world: http://jsbin.com/pdfjs-helloworld-v2/edit#html,live ++ Simple reader with prev/next page controls: http://jsbin.com/pdfjs-prevnext-v2/edit#html,live The repo contains a hello world example that you can run locally: diff --git a/l10n/en-US/viewer.properties b/l10n/en-US/viewer.properties index b0d26d2de..88238edd4 100644 --- a/l10n/en-US/viewer.properties +++ b/l10n/en-US/viewer.properties @@ -1,6 +1,6 @@ bookmark.title=Current view (copy or open in new window) -previous.title=Previous -next.title=Next +previous.title=Previous Page +next.title=Next Page print.title=Print download.title=Download zoom_out.title=Zoom Out @@ -29,3 +29,14 @@ page_of=of {{pageCount}} no_outline=No Outline Available open_file.title=Open File text_annotation_type=[{{type}} Annotation] +toggle_slider_label=Toggle Slider +thumbs_label=Show Thumbnails +outline_label=Show Document Outline +bookmark_label=Current View +previous_label=Previous +next_label=Next +print_label=Print +download_label=Download +zoom_out_label=Zoom Out +zoom_in_label=Zoom In +zoom.title=Zoom diff --git a/web/viewer.css b/web/viewer.css index 337614ccf..7b0ce0344 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -227,6 +227,13 @@ html[dir='rtl'] .splitToolbarButton > .toolbarButton { height: 25px; } +.toolbarButton > span { + display: inline-block; + width: 0; + height: 0; + overflow: hidden; +} + .toolbarButton[disabled] { opacity: .5; } diff --git a/web/viewer.html b/web/viewer.html index b257ec61a..0ec05e031 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -46,8 +46,12 @@
- - + +
@@ -64,14 +68,20 @@
- +
- +
- +
-
Page:
+ @@ -79,24 +89,38 @@
- - + + + - - + - - + Current View
- +
- +
-