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
How can i open links to new tab / window #7779
Comments
Since there's no information provided about how you're using PDF.js, e.g. just the API or the entire default viewer, the general approach for specifying the PDFJS.externalLinkTarget = PDFJS.LinkTarget.BLANK; somewhere before the Closing as answered. |
I don't know if this helps anybody, but in a few examples in this repository
|
@Snuffleupagus I tried
instead of:
but unfortunately to no effect :( What else can I do to check or try? Running Opigno LMS = Drupal 7 which uses /sites/all/libraries/pdf.js/build/pdf.js UPDATE: Actually having removed it again it's still working, perhaps it's integrated in the new dev version of the drupal module. |
app.js: |
Everything works fine but i cannot change behavior for links. I found LinkTarget in pdf.js file but how i supposed to change this string to get it really works?
The text was updated successfully, but these errors were encountered: