I load a PDF file when user clicks a button using jQuery, but it opens the document starting from the first page (as it is always).
I would like to link a specific page depending of the needed chapter. Is it there any way to do this nice to have thing?
Here is how I open the document:
$('#btnManual').click(function() {
window.open('documentation/test.pdf');
});
Choose Tools, click on Edit PDF, then on Link, and finally, select Add/Edit Web or Document Link. Select the area that you want to hyperlink. Then, in the Create Link dialog box, choose the options you want for the link appearance and click on the Open a Web Page button for the link action. Hit Next and enter the link.
Upload a PDF file from your local device, or cloud such as Dropbox, Google Drive, OneDrive, or web address. Click the “Links” button on the top toolbar. Drag the cursor to mark up the text you need to create a link. Choose “Link to internal page” and enter the page number you want to access.
Insert one PDF into anotherIn the secondary toolbar, choose Insert > From File. Alternatively, you can right-click a page and select Insert Pages to get the insert options. Select the PDF you want to insert and click Open.
To target an HTML link to a specific page in a PDF file, add #page=[page number]
to the end of the link's URL.
For example, this HTML tag opens page 4 of a PDF file named myfile.pdf:
<A HREF="http://www.example.com/myfile.pdf#page=4">
More info: https://helpx.adobe.com/acrobat/kb/link-html-pdf-page-acrobat.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With