Hi, I found a solution

chunk.setAnchor( 
  
"javascript:onLoad=window.open('http://www.yahoo.com','popup','').focus();void(0);" );

will open the target url in a new browser window ...

Best regards

> Hi,
> 
> I'm using anchors to external url's e.g. chunk.setAnchor(
> "http://www.hawaii.com/";; );
> Two scenarios:
> 
> 1. When opening the created pdf file with Acrobat Reader and clicking the
> link a new browser window is opened displaying the content of the desired
url.
> 
> 2.
> The pdf is created in a servlet and the browser displays it using the
> acrobat plugin. Clicking on a link displays the content of the desired url
in the
> same browser window.
> 
> Is there a way to specify, what acrobat should do ? Similar to the html <A
> href=... target="_blank" mechanism ?
> 
> (One can simulate this behaviour when dragging a pdf file to a browsers
> window)
> 
> Best regards
> Christian

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to