Solved

Acrobat & InDesign create pdf files with links that grab an open browser window

Posted on 2006-11-13
5
3,344 Views
Last Modified: 2012-06-27
I use InDesign 4.0.4 to create files and then export to pdf. When I the open the pdf file and click on  with link, it  grabs an open browser window, e.g., my web email. I want it to open a new window. My understanding is that there should be a place in InDesign to specify "target=_blank", but I can't find it. How do I specify in InDesign that the links should open new windows?

In Acrobat 7.0, I can use Advanced>Links>Create from URLs to create links in a pdf document (exported from InDesign), but those links also grab an open window. How do I specify in Acrobat that the links should open new windows?  
0
Comment
Question by:ngoldfarb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 17932633
"target=_blank" is a feature of a web browser. Acrobat (or Reader) is not a browser and does not support this function. You can - with some JavaScript to accomplish the same. Create your "link" not as a link, but as a button, and assign a JavaScript action to it. The method app.launchURL() has two parameters, the first one is the URL, and the second one is a boolean that indicates if a new browser window shoudl be launched. It's default is false, so you need to specify it and set it to true:

app.launchURL("http://ww.experts-exchange.com", true);

0
 

Author Comment

by:ngoldfarb
ID: 17932743
OK, I think I've figured out the problem. This problem occurs only when the document is not displayed in a browser, so it is not a problem.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 17932927
Actually, you still may have a problem: There is a preference setting that determines if a link should be opened in Acrobat (or Reader), or an external browser window. Depending on this setting, you may also run into the same problem even when the PDF is displayed in the browser.
0
 

Author Comment

by:ngoldfarb
ID: 17933091
The setting is specific to the user and the results should not come as a surprise, right?
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 17933150
Correct. But if you want a certain behavior (which may not be the case for your application), you need to consider that.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adobe Reader XI Updates without DC 24 216
pdf file 7 95
Acrobat DC hangs while converting Word docs to Adobe .PDF files within Win Explorer 7 298
Saving Web Page as PDF 9 42
Can Be Caused By Disabled Services I have encountered a problem viewing PDF files using Adobe Acrobat Reader.  For the longest time, PDFs might launch or might not.  Sometimes they took about 15 minutes to appear after launching them. After som…
Inserting page numbers in Portable Document Files not only enhances manageability but also makes them look professional. With numbered pages, the file appears more organized and it becomes easier to search for a particular page. The size and the vol…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question