How to make a PDF download?

4 replies
I know that it might not be the best place to post it but I couldn't find anything better.
My question is that I want to make the file to open on a new tab of the browser rathre then download it and open it.
Thanks.
#download #make #pdf
  • Profile picture of the author Raydal
    I'm not sure if you can control this: download vs. open in page.
    This is determined by the browser the person is using and
    whether they have a plugin to open pdf files.

    But I may be wrong.

    -Ray Edwards
    Signature
    The most powerful and concentrated copywriting training online today bar none! Autoresponder Writing Email SECRETS
    {{ DiscussionBoard.errors[7812706].message }}
  • Profile picture of the author Jacob Padget
    In the HTML for the link, add on the following: target="_tab". Traditionally, target="_blank" would be the correct code, but not anymore, as some browsers are now wise to the knowledge that people prefer to open new pages in new tabs rather than new windows. You can still use the latter in Internet Explorer. However, it will come down to the browser preferences of the user as to what actually happens. The former will not work in any version of Internet Explorer, but will work in the following browsers: Opera, Chrome, Flock, Firefox and Maxthon.
    {{ DiscussionBoard.errors[7812841].message }}
  • Profile picture of the author Istvan Horvath
    Bad plan.
    Zip it up and let people to download it (zip files start downloading automatically).

    There is nothing more annoying than a badly formatted, huge, uncontrollable PDF file starting to open in a browser window/tab... :rolleyes:
    Signature

    {{ DiscussionBoard.errors[7814094].message }}

Trending Topics