Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pdf files in dreamweaver

Status
Not open for further replies.

lmj643

Technical User
May 28, 2002
10
US
I have .pdf docs that I want the user to be able to click a link and then a window comes up asking to download. I'm working in Dreamweaver, how do I do this?
 
Create a simple link:

<a href=&quot;myfile.pdf&quot;>Click here to open</a>

Many browsers will probably open the PDF file in the same window, so if you want users to actually download it, you might have to add a note saying &quot;right-click this link and choose Save Target As...&quot; Alternatively, ZIP the pdf files, then it'll probably give you a download dialog box.

<a href=&quot;myfile.zip&quot;>Download a zipped pdf</a>

I think enough people are familiar with downloading PDFs to make the first option the safest. After all, why force people to download and unzip?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top