Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2004
    Location
    Hershey, PA
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Changing Browser Title Bar After Opening PDF

    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

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    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.
    Last edited by glenngv; 05-18-2005 at 06:21 AM.
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •