Creating a PDF Download in Dreamweaver

5 pts.
Tags:
Download File Link
Dreamweaver CS4
I'm learning Dreamweaver and want to create a link that will allow viewers to download a PDF document. Can't find the how-to in the manual. Thanks

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi, I normally set the link to open an new page and then use that to open the PDF file, this then makes the user stay on your site.

<A HREF=”http://www.yourdomain.com” TARGET=”_blank”>Your Text</a>

with the www.yourdomain as the PDF file on your server

<a href=”Resource files/Colour-chart-vinyPlus_uni.pdf” target=”_blank”>

so if you go to a site I keep upgrading and you will see what i mean

http://www.fullerandsons.co.uk/tech_papers_com_f&s.html

if you view the source you will see the following:

<tr>
<th scope="row"> </th>
<td valign="top"><a href="Resource files/Colour-chart-vinyPlus_uni.pdf" target="_blank">

vinyPlus Colour Chart universal</a></td>
<td> </td>
<td> </td>
<td> </td>
</tr>

The user can then save the file to their computer if they want to or not.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: