You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PDFTron WebViewer
Q:
When a user clicks a link we'd like to know what page that link was on so that we can allow the user to navigate directly back to that page. Is that possible?
A:
You can add the following code to a config file:
var origOnTrigger = window.Actions.GoTo.prototype.onTriggered; window.Actions.GoTo.prototype.onTriggered =function(link){ origOnTrigger.apply(this, arguments); console.log(link.PageNumber); };