View Full Version : Changing Browser Title Bar After Opening PDF

05-17-2005, 02:42 PM
I have a link that opens a PDF file in a new browser window (target=_blank). Is there a way to replace the default text (i.e., URL or filename.pdf...) that is displayed in the title bar of the new browser window? I've tried setting the target to the title I want as well as using a JavaScript URL with window.open() but no success.

Thanks, Paul

05-18-2005, 07:03 AM
You need to open the pdf in a frameset. See the "Popup DocViewer" link in my sig. Scroll down at the bottom of the thread to see the latest code. I've posted the modifications just now.