These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Adobe Reader in the browser question

StevenD
Registered: Oct 6 2006
Posts: 368

Someone asked me yesterday if it was possible when a user clicks on a link in a PDF viewed within the browser for another documents to get it to open in a new browser window.

Possible? I think not but I need to make sure if I am right or if I am wrong in my assumption.

StevenD

My Product Information:
Reader 9.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
It depends on how the link is implimented. The standard "Go To Web Page" action cannot open a new window, But the JavaScript "app.launchURL()" function can.

// This line opens webpage in new browser window.
app.launchURL("www.pdfscripting.com", true);

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script