Click here to Skip to main content
16,011,757 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Metatag content in two languages Pin
Paul Watson10-Feb-03 6:11
sitebuilderPaul Watson10-Feb-03 6:11 
GeneralRe: Metatag content in two languages Pin
johncogan10-Feb-03 6:15
johncogan10-Feb-03 6:15 
GeneralRe: Metatag content in two languages Pin
markkuk10-Feb-03 8:42
markkuk10-Feb-03 8:42 
GeneralCDONTS ... URGENT Pin
syedhassan49-Feb-03 3:57
syedhassan49-Feb-03 3:57 
GeneralRe: CDONTS ... URGENT Pin
DFU2310-Feb-03 6:19
DFU2310-Feb-03 6:19 
GeneralRe: CDONTS ... URGENT Pin
Zeeshan Mehmood17-Feb-03 8:52
Zeeshan Mehmood17-Feb-03 8:52 
QuestionHow user download the file? Pin
Thuy Dinh8-Feb-03 16:32
Thuy Dinh8-Feb-03 16:32 
AnswerRe: How user download the file? Pin
Paul Watson10-Feb-03 0:58
sitebuilderPaul Watson10-Feb-03 0:58 
Thuy Dinh wrote:
I design website in Dreamweaver MX and want to make a button "Download" so that users can download the file when they need. Please help me what to do.

This is another misconception in web dev. I also had it when I first started.

To make a download link, you just use a normal A link. It is then up to the client as to how it is handled. If the link points to an HTML file then the client downloads it and opens it as a "normal" web page. If the link points to a file that the browser does not know how to handle, then it asks you to Save As or Save To or whatever. But it does not open it. That is the only difference when downloading say an HTML file or a Zip.

You can check this idea out by finding a machine that does not have Adobe Acrobat Reader on it, or does not have Microsoft Word. Click a link to one of those docs, you will see it asks to save the file and does not open it in the browser. Because the client does not know how to handle that file.

So you can make a download link like this:
<a href="files/downloadme.zip">Download</a>


Paul Watson
Bluegrass
Cape Town, South Africa

Roger Wright wrote:
Using a feather is kinky; using the whole chicken is perverted!
GeneralRe: How user download the file? Pin
Thuy Dinh10-Feb-03 3:01
Thuy Dinh10-Feb-03 3:01 
GeneralASPs link manager Pin
Davy Mitchell8-Feb-03 10:37
Davy Mitchell8-Feb-03 10:37 
GeneralRe: ASPs link manager Pin
Vasudevan Deepak Kumar10-Feb-03 23:07
Vasudevan Deepak Kumar10-Feb-03 23:07 
GeneralRe: ASPs link manager Pin
Davy Mitchell11-Feb-03 21:04
Davy Mitchell11-Feb-03 21:04 
GeneralASP file upload COM with Virus Scanning Pin
Andrewpe8-Feb-03 10:05
Andrewpe8-Feb-03 10:05 
GeneralRe: ASP file upload COM with Virus Scanning Pin
Vasudevan Deepak Kumar10-Feb-03 23:02
Vasudevan Deepak Kumar10-Feb-03 23:02 
GeneralRe: ASP file upload COM with Virus Scanning Pin
Andrewpe10-Feb-03 23:12
Andrewpe10-Feb-03 23:12 
GeneralVirus Scanning ASP File Uploads Pin
Andrewpe8-Feb-03 10:02
Andrewpe8-Feb-03 10:02 
GeneralCSS question Pin
Rohit  Sinha7-Feb-03 21:20
Rohit  Sinha7-Feb-03 21:20 
GeneralRe: CSS question Pin
Philip Patrick7-Feb-03 21:43
professionalPhilip Patrick7-Feb-03 21:43 
GeneralRe: CSS question Pin
Rohit  Sinha8-Feb-03 0:58
Rohit  Sinha8-Feb-03 0:58 
GeneralRe: CSS question Pin
Stephane Rodriguez.7-Feb-03 22:17
Stephane Rodriguez.7-Feb-03 22:17 
GeneralRe: CSS question Pin
Rohit  Sinha8-Feb-03 0:56
Rohit  Sinha8-Feb-03 0:56 
GeneralRe: CSS question Pin
Stephane Rodriguez.8-Feb-03 2:35
Stephane Rodriguez.8-Feb-03 2:35 
GeneralRe: CSS question Pin
Richard Deeming10-Feb-03 0:32
mveRichard Deeming10-Feb-03 0:32 
GeneralRe: CSS question Pin
Rohit  Sinha10-Feb-03 2:30
Rohit  Sinha10-Feb-03 2:30 
QuestionHow to create a chatroom application Pin
Ph@ntom7-Feb-03 19:39
Ph@ntom7-Feb-03 19:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.