I have a PDF document embedded in a web page with an object tag. Is it possible to create a link inside the PDF document that opens in a new tab/window?
I have tried:
app.launchURL("www.google.com", true);
but it does not work in Chrome.
Yes, you can, but the link must be in the PDF, the document itself.
That if you open the .pdf in your computer, the link must work.
Yes, it must be built in PDF file.
you can do it like following the links below:
- Creating hyperlinks in acrobat
And if you want to alter the opening of every link, you can do it in jquery style like:
$('a[href$=".pdf"]').prop('target', '_blank');
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.