Re: Download with left-clicking

by "Darrell King" <darrell(at)webctr.com>

 Date:  Mon, 6 Oct 2003 06:48:17 -0400
 To:  <david(at)homepagesplus.com>,
<hwg-techniques(at)hwg.org>
 References:  localhost
  todo: View Thread, Original
Simply link to the file in question. Whether in downloads or not depend on
whether the browser has been configured to do something else with it, such
as process it with a plugin. Sound files, Flash movies, Word DOCs - all
would simply download if the user's system wasn't set up to open them using
music players, Flash plugins or MS Office programs as helpers.

To ensure a download, simply zip the file up with an archiving utility like
WinZip and then linked to the zip file.

D


----- Original Message -----
From: "David Kendall" <david(at)homepagesplus.com>
To: <hwg-techniques(at)hwg.org>
Sent: Sunday, October 05, 2003 6:25 PM
Subject: Download with left-clicking


Hello, all

I am trying to find a particular code out there to suit my wishes (I
know it exists, but I can't think of what it is off the top.)  It is a
command for downloading with just a click (instead of right-click >
Save to - you'd be amazed at how many visitors to the site in
question don't know you can do that).  This is for file extensions like
.mid, .jpg, .txt, etc. that normally can't be downloaded with a simple
click (or onClick, which I tried).

I plan on having two clickable icons, one for the visitor to view/listen
to the .mid/.jpg/.txt/etc, and another to click if they wish to download
it to their computer.  The first part is, of course, easy.  How do I
make a download button for things that don't like to be downloaded
with a simple click?


--
David Kendall - david(at)homepagesplus.com
http://www.homepagesplus.com/david

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.