• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Buttons don't work correctly

New Here ,
May 10, 2016 May 10, 2016

Copy link to clipboard

Copied

My problem, I want links in my pdf to open websites and documents in other windows.

So far.. I've created a pdf with links to websites and forms. 

First I created the links with the hyperlink function.  The hyperlinks don't open in a new window and there is no way to achieve this behavior with hyperlinks. the hyperlinks do work in all browsers.

Next I created buttons that link to the webpages and documents.  The buttons only work in IE and don't work in any other browser.  The buttons in IE don't open in another window.

How do i solve this issue?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

302

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 10, 2016 May 10, 2016

Copy link to clipboard

Copied

You might have a look at how HTML links open a new window. Then add that syntax to your hypelinks in the PDF.

However, it may be possible that you encounter strange behavior when trying to open the links from outside of a browser.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 10, 2016 May 10, 2016

Copy link to clipboard

Copied

LATEST

target="_blank" does not work in a pdf link, there is no place to add it...

I added buttons using javascript and it works perfectly when the pdf is loaded through reader on my computer.

app.launchURL("http://myurl.com", true);

The issue arises when the pdf is viewed in the browser.  the issue is that i have over 30 pdfs that all contain several links and the buttons don't work in Chrome, Firefox or Opera, and only work in IE but they don't open in a new window.

So...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines