Solved

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

Posted on 2006-11-13
5
3,338 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

One of the questions I get asked again and again is how to validate a field value in an AcroForm with a custom validation script. Adobe provided a lot of infrastructure to do that with just a simple script. Let’s take a look at how to do that wit…
*Adobe Acrobat 9 was used for this article.  Particular steps may vary depending on software versions. Adobe Acrobat has many, many variables that my be utilized to customize your forms for clarity and ease of use. The Form Editing Tool will be y…
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now