[pdftex] Open Weblink in New Window

Plamen Tanovski pgt at arcor.de
Fri Dec 5 19:32:55 CET 2008


Hi,

I try to make a hyperlink in a pdf file which pops up in a new brower
window or tab. The only thing that particulary works is including a
javascript in the URL. On Windows with IE it doesn't at all. The
/NewWindow key seams to be gone from the pdfmark reference. It doesn't
work anyway. So, is there any other solution? Even Acrobat Prof.
doesn't offer a new window option. Still, there are many PDFs that pop
up a new wndow by clicking on the link, so there must be a solution.
Does someone have a sugesstion?

\documentclass{article}
\usepackage[pdfnewwindow=true,pdftex]{hyperref}
\begin{document}
\href{javascript:void(window.open("http://www.tug.org",''))}{link}
\end{document}

best regards

-- 
Plamen Tanovski
Prager Str. 125, 04317 Leipzig
Tel. (03 41) 3 08 57 60


More information about the pdftex mailing list