Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement parameter navpanes and toolbar #2784

Open
jviereck opened this issue Feb 23, 2013 · 4 comments
Open

Implement parameter navpanes and toolbar #2784

jviereck opened this issue Feb 23, 2013 · 4 comments

Comments

@jviereck
Copy link
Contributor

See: https://bugzilla.mozilla.org/show_bug.cgi?id=844350

with the acrobat pdf plugin i can pass navpanes=0 and toolbar=0 to hide the toolbars

The parameters are specified here: http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters_v9.pdf#page=7

@jviereck
Copy link
Contributor Author

Issue #2676 might serve as an starting point on how to implement this.

@Snuffleupagus
Copy link
Collaborator

Should we implement the "navpanes" parameter?
In Adobe Reader the "navpanes" are separate from the toolbar, but in pdf.js these can't be acessed if the toolbar isn't visible. I suppose that you could just hide the sidebar button if "navpanes=0", but do we want to do that?

@kekkc
Copy link

kekkc commented Feb 17, 2018

#9414 was closed with a reference to this issue, but I'm not sure if the parameters are the same as "auto-hide" toolbar. In case someone is searching for a workaround to gain space or some different ideas of implementation, create a userContent.css in profile>chrome with the following content (instead of hiding the toolbar completely, it's just made transparent:

/* https://support.mozilla.org/de/questions/1119523 */
#outerContainer #mainContainer div.toolbar {
/display: none !important; / hide PDF viewer toolbar /
opacity: 0.5 !important;
}
#outerContainer #mainContainer #viewerContainer {
top: 0 !important; /
move doc up into empty bar space */
}

@churchianity
Copy link

I opened this: https://bugzilla.mozilla.org/show_bug.cgi?id=1807490

And was directed here - what's the status of the various unimplemented pdf parameters in pdf.js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants