How to create a click button that initiates a file download?

A

anadiner

I need to know how create a button on a page that the user clicks on and a
file is then downloaded to them. Using Frontpage 2000
 
M

Mike Mueller

message
:I need to know how create a button on a page that the user
clicks on and a
: file is then downloaded to them. Using Frontpage 2000

<input type="button" value="download" onclick="window.open
('hyperlink')">
 
E

Eli the Iceman

This code tries to open the file with IE, how do you download the file to the
local HD? EX: it it is a an MSAccess file, IE can not open it.
 
S

Stefan B Rusynko

Recommend you zip the .mdb file and create a link to it

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| This code tries to open the file with IE, how do you download the file to the
| local HD? EX: it it is a an MSAccess file, IE can not open it.
|
| "Mike Mueller" wrote:
|
| > message
| > | > :I need to know how create a button on a page that the user
| > clicks on and a
| > : file is then downloaded to them. Using Frontpage 2000
| >
| > <input type="button" value="download" onclick="window.open
| > ('hyperlink')">
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top