how to make a file download button

P

Pierre

Hi all

On my internet site i want to add a button that enable the user to download
a file. (like we see on any site)

How can i do that, can somenone indicate me a link or a way to do that

regards,
Pierre
 
R

Rob Giordano \(Crash Gordon®\)

Create your button image...you can use an image editor or you can find a zillion free ones on the net...I've even seen sites that will create button images on the fly for free.

With your FP web opened:
Import your button image into FP.
Place the image on the page where you want it to be.
Select the image, right click, choose Hyperlink...set the properties to point to the file you want people to download.
Save Page.
Publish.


| Hi all
|
| On my internet site i want to add a button that enable the user to download
| a file. (like we see on any site)
|
| How can i do that, can somenone indicate me a link or a way to do that
|
| regards,
| Pierre
|
|
 
D

Dwayne Conyers

Pierre [mailto:p[email protected]] ink wired:
On my internet site i want to add a button
that enable the user to download a file.

Easy. Follow these steps.

--------
STEP ONE
--------

Add the following style to the header of your HTML document:

<STYLE>
a.button:link, a.button:visited, a.button:hover
{
text-decoration:none; font-variant: small-caps; border-style: outset;
border-width: 2; padding-left: 2; padding-right: 2; padding-top: 0;
padding-bottom: 0; background-color: #C0C0C0
}
a.button:active, a.button:focus
{
text-decoration:none; font-variant: small-caps; border-style: inset;
border-width: 2; padding-left: 2; padding-right: 2; padding-top: 0;
padding-bottom: 0; background-color: #C0C0C0
}
</STYLE>

--------
STEP TWO
--------

Create a hyperlink like this (assuming the file they are downloading is
called "myFile.pdf"

<A HREF="myFile.pdf" CLASS="button">DOWNLOAD</A>


--------
OPTIONAL
--------

If you want button behavior like having button pop up after click, add
JavaScript to blur focus to the on mouse off or after click event(s).

Hope that helps.
 

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