From 030303e0f3f42aab1e81ef6fa5fc4d3d52e6e891 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Thu, 3 May 2012 08:45:13 -0500 Subject: [PATCH 1/4] New versions of the jsbin.com --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: From c04ea2897e101230ff3776e002bc5c209349df29 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 4 May 2012 09:51:21 -0500 Subject: [PATCH 2/4] Addressing accessebility aspects --- web/viewer.css | 4 ++++ web/viewer.html | 50 +++++++++++++++++++++++++++++++++++++------------ 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index acaca9865..d99c109c9 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -175,6 +175,10 @@ body { height: 25px; } +.toolbarButton > span { + display: none; +} + .toolbarButton[disabled] { opacity: .5; } diff --git a/web/viewer.html b/web/viewer.html index 6711a67d1..0e90cd51c 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -43,8 +43,12 @@
- - + +
@@ -61,14 +65,20 @@
- +
- +
- +
-
Page:
+ @@ -76,21 +86,37 @@
- - + + + - - + + Bookmark
- +
- +
+