Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Display A Pdf File By Clicking A Web Link?

  • Please log in to reply
2 replies to this topic

#1 wagner12


  • Members
  • 10 posts
  • Local time:07:53 PM

Posted 22 April 2006 - 08:16 PM

I was wondering how I could have a link on a web page that when clicked a new window would open and display a PDF file (training manual). The page is coded in coldfusion and I'm unsure of how to do this.

Any help would be appreciated.


(Moderator edit: post moved to more appropriate forum. jgweed)

Edited by jgweed, 22 April 2006 - 08:27 PM.

BC AdBot (Login to Remove)


#2 groovicus


  • Security Colleague
  • 9,963 posts
  • Gender:Male
  • Location:Centerville, SD
  • Local time:06:53 PM

Posted 23 April 2006 - 11:47 AM

Opening another web page is simple enough, but all you really need to do is have a link to the .pdf, and when the user clicks on the link and downloadsthe .pdf, it will open in Reader all by itself. Unless you have a really compelling reason for it to open in its own browser window.

#3 Andrew


    Bleepin' Night Watchman

  • Moderator
  • 8,260 posts
  • Gender:Not Telling
  • Location:Right behind you
  • Local time:05:53 PM

Posted 24 April 2006 - 03:14 PM

To force a link to open in a new window:
<a href="blah.pdf" target="_blank">Blah</a>

Edited by Amazing Andrew, 24 April 2006 - 03:16 PM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users