Updated Viewer options (mediawiki)

Yury Delendik 2015-12-18 11:32:26 -06:00
parent 2bf0143618
commit d411351e68

@ -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
* 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"