Download buttons?

Hello peeps. I am trying to include a “click to download” option for my resumes. Does anyone know if there is a to do this so it will automatically download, or do I have to send people to my dropbox via a link?


Here is my public share link: LINK
(how to access public share link)

1 Like

Hi @hawkinsmc,

Theoretically this should work:

<a href="http://example.com/files/myfile.pdf" target="_blank">Download</a>

The target=_blank will make a new browser window appear before the download starts. That window will usually be closed when the browser discovers that the resource is a file download.

Note that file types known to the browser (e.g. JPG or GIF images) will usually be opened within the browser.

Hope it will help.

Regards,
Anna

2 Likes

Hi Anna! So I just copy and past my URL there? And by URL I mean my Dropbox link? And this will prevent dropbox from opening, but another browser window that will begin the automatic download?

Hmm I tried that, but it’s not working. This is was what I copied into the URL field

http://Download

It automatically puts an additional http:// beforehand.

You can make it open in new browser window.
Just replace www.dropbox.com by dl.dropboxusercontent.com

I guess for forse browser to start DOWNLOAD there is more code needed

it’s not working ;( Any ideas as to why not?

http://Download

Looks like you posted empty link here

Lets try this one:

Download11

AND IT WORKS!!!

<a target="_blank" rel="nofollow" class="" href="https://dl.dropboxusercontent.com/s/8zpxudrm348lnmq/Mackenzie_Hawkins_2016_Resume.pdf?dl=0">Download</a>

1 Like

ahh I can’t get it to work! I have attached a screenshot of where I am pasting the link:

1 Like

If you want to use standard Webflow link-block, then you have to add in NOT ALL CODE that I showed you, but just
https://dl.dropboxusercontent.com/s/8zpxudrm348lnmq/Mackenzie_Hawkins_2016_Resume.pdf?dl=0

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.