Jump to content

Download - not open - linked *.pdf-file


vargefaret

Recommended Posts

By pushing a button on my site (a *.png-file) the choise of downloading and saving this file (*.pdf) should pop up (as if it were a *.zip-file). I do not want my (or any other browser) to automatically open it.

How do I do this?

I have to mention that I am TOTALLY "stupid" when it comes to scripting. I will need a step-by-step info on this.  :-\

 

Link to comment
Share on other sites

Check out the FAQ/Code snippet repository for a thread on forcing a download.

 

Thank you for your quick response!

 

I did actually see that - and I have to admit that I have seen several - but I can't find out how to make it work.

I have seriously tried (thus me saying I'm "stupid") - but I can't seem to find out what code goes where...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.