From 13204dc0ec2251f770eaa24d6c6cb0ad1eb2eb03 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Thu, 6 Feb 2014 08:25:23 -0800 Subject: [PATCH] Updated Viewer options (mediawiki) --- Viewer-options.mediawiki | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Viewer-options.mediawiki b/Viewer-options.mediawiki index e436c48..8173118 100644 --- a/Viewer-options.mediawiki +++ b/Viewer-options.mediawiki @@ -1,10 +1,5 @@ Options for PDF.js's viewer that can be given at the URL level. Multiple values of either type can be combined by separating with an ampersand (&) after the hash (example: #page=2&textLayer=off). -===Options after the ?=== -Example: http://www.example.com/pdf.js?file=myfile.pdf - -* file: the filename of the PDF file to use (must be on the same server due to JavaScript limitations). Example: file=myfile.pdf - ===Options after the #=== Example: http://www.example.com/pdf.js#page=2 @@ -21,4 +16,10 @@ Example: http://www.example.com/pdf.js#page=2 ** visible, shadow, hover: apply the CSS class textlayer-{value} to all text layers * pdfBug: enable debugging tools, see [https://github.com/mozilla/pdf.js/wiki/Debugging-pdf.js]. * useOnlyCssZoom: set to true to use only CSS zoom. Example: useOnlyCssZoom=true -* verbosity: specify the verbosity of console messages. 0 = only errors, 1 = warnings and errors, 5 = warnings, errors and information messages. Example: verbosity=5 \ No newline at end of file +* verbosity: specify the verbosity of console messages. 0 = only errors, 1 = warnings and errors, 5 = warnings, errors and information messages. Example: verbosity=5 + + +===Options (for viewer.html) after the ?=== +Example: http://mozilla.github.io/pdf.js/web/viewer.html?file=myfile.pdf + +* file: the filename of the PDF file to use (must be on the same server due to JavaScript limitations). Example: file=myfile.pdf \ No newline at end of file