codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  displaying a pdf file in HTML  Archive Import (Josh) at 15:03 on Wednesday, July 09, 2003
 

How do you display a pdf file in HTML. I tried dragging and dropping a file in internet explorer but it won`t let me view the source to see how to do it. Thanks.

  Re: displaying a pdf file in HTML  Troy Wolf at 16:38 on Friday, August 01, 2003
 

The simplest way to display a PDF file in a browser window is just link to it. By default, most people have the PDF plug-in for the browser.

<a target=_blank href="/forum/SomePDFdocument.pdf">View PDF</a>

Another simple thing is to place an IFRAME in your page and specify the PDF file as the page source. Again, the browser will use the plug-in to display the PDF file.
Troy Wolf: site expert
SnippetEdit Website Editor









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Chat application
•  How to send multiple perameters in SOAP request.
•  Java code for Insert picture on the table in spreadsheet
•  Re: Problem with concatenation
•  how to genrates the crystal report by sending a id at runtime
•  help me
•  pls help me with this..
•  Re: Security - Code verify
•  Job @ EarlySail


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007