From d411351e68a722c5a802a182156fbbafcdb72112 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 18 Dec 2015 11:32:26 -0600 Subject: [PATCH] Updated Viewer options (mediawiki) --- Viewer-options.mediawiki | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Viewer-options.mediawiki b/Viewer-options.mediawiki index 0f8593d..76cfb67 100644 --- a/Viewer-options.mediawiki +++ b/Viewer-options.mediawiki @@ -9,6 +9,6 @@ Example: http://mozilla.github.io/pdf.js/web/viewer.html#page=2 * pagemode: either "thumbs" or "bookmarks". Example: pagemode=thumbs ===Options after the ?=== -Example: http://mozilla.github.io/pdf.js/web/viewer.html?file=myfile.pdf +Example: http://mozilla.github.io/pdf.js/web/viewer.html?file=compressed.tracemonkey-pldi-09.pdf -* file: the path of the PDF file to use (must be on the same server due to JavaScript limitations). Please notice that the path/URL must be encoded using encodeURIComponent(). Example: /web/viewer.html?file=%2Fmyfiles%2Ffile.pdf \ No newline at end of file +* file: the path of the PDF file to use (must be on the same server due to JavaScript limitations). Please notice that the path/URL must be encoded using encodeURIComponent(), e.g. "/viewer.html?file=%2Fpdf.js%2Fweb%2Fcompressed.tracemonkey-pldi-09.pdf" \ No newline at end of file