Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-08-2005, 04:52 AM   #1
Member (7 bit)
 
Join Date: Oct 2004
Posts: 104
How to have pdf download link

Howdy folks
How do I create a pdf brochure link for my visitors to download off the website? What sort of programing is this made in?
perthguy is offline   Reply With Quote
Old 06-08-2005, 05:12 AM   #2
It can never be too quiet
 
Stryker's Avatar
 
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
Hiya perthguy,

PDF links are done just like any other web/HTML link, just with the .pdf extension instead of .htm, .asp, etc...

Here's the code (may vary slightly depending on where you're inserting it):
HTML Code:
<a href="http://www.domain.com/folders/filename.pdf">Text to Display</a>

Or... to open in a new window:
<a href="http://www.domain.com/folders/filename.pdf" target="_blank">Text to Display</a>
Hope this helps, but post back if you have trouble.
Stryker
__________________
Athlon XP 2800+ • Asus A7N8X (nVidia Nforce2) • Radeon 9600 Pro 256MB • 2x512MB KVR DDR PC3200 Dual Channel • 120GB Seagate 7200RPM 8MB • 160GB WD 7200RPM 8MB • Liteon DVD±RW DL • AOpen DVD±RW DL • Vantec Ion2 350W PSUSend me your picture for the Member Photo Gallery
Stryker is offline   Reply With Quote
Old 06-08-2005, 06:12 AM   #3
Member (7 bit)
 
Join Date: Oct 2004
Posts: 104
Thanks Stryker but I want my visitors to download it onto their desktop to open later. I assume your link opens a pdf file in the browser. Or is it all up to how the browser is configured whether or not the file is (a) opened or (b) downloaded onto the desktop?
perthguy is offline   Reply With Quote
Old 06-08-2005, 06:33 AM   #4
It can never be too quiet
 
Stryker's Avatar
 
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
Dependant upon the browser configuration, but if the visitor "right-clicks" on the link there is always an option to "save the target/link as...". This will allow the visitor to save the target .pdf file regardless of their browser configuration.

You could always have a small text note under the link reading "To save this brochure, please right click and save as...".
Stryker is offline   Reply With Quote
Old 06-08-2005, 07:33 AM   #5
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
You can't make it download instead of open unless you maybe zipped it and had them download the zip file but this creates an extra step.
mairving is offline   Reply With Quote
Old 06-08-2005, 07:45 AM   #6
Member (7 bit)
 
Join Date: Oct 2004
Posts: 104
so if it's zipped it downloads automatically?
perthguy is offline   Reply With Quote
Old 06-08-2005, 08:03 AM   #7
It can never be too quiet
 
Stryker's Avatar
 
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
Quote:
Originally Posted by perthguy
so if it's zipped it downloads automatically?
Generally, it will prompt the user to "Open" or "Save" a .zip file. The user just clicks the option they want.
Stryker is offline   Reply With Quote
Old 06-08-2005, 09:35 AM   #8
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally Posted by Stryker
Generally, it will prompt the user to "Open" or "Save" a .zip file. The user just clicks the option they want.
Yeah, but it does depend on the OS. XP does this but other versions of Windows don't.
mairving is offline   Reply With Quote
Old 06-08-2005, 04:03 PM   #9
Chop Chop
 
catacon's Avatar
 
Join Date: Jan 2005
Location: St. Louis, MO
Posts: 1,035
Send a message via AIM to catacon Send a message via Yahoo to catacon
Windows 98 will prompt the user giving the options "Save" or "Open".
__________________
Main Computer: Intel Core i5 2500K | AsRock Extreme3 Z68 | Corsair Vengeance 2 x 4GB DDR3 1600 | EVGA GTX460 768MB | Western Digital Caviar 750GB 7200RPM SATAII | Mushkin 60GB SSD w/ SRT enabled | Asus 20X DVD Burner | Antec 550W Modular | Cooler Master HAF 912 w/ 4 fans | NXZT Sentry Mesh fan controller | W7 | 2 x 23" LG IPS Monitors

Laptop: Asus EEE 1000HE | 2GB RAM | Ubuntu

Laptop: Lenovo Thinkpad T60p | 4GB RAM | W7
catacon is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:51 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2