|
How do you create PDF dialog boxes? |
|
|
I've been to several sites where I can download a PDF file by left clicking on it and having the download dialog appear. On my site, if you left click a PDF file, the Acrobat program loads. You have to right click a PDF file on my site and select save target or something to that effect. I would like to just left click and have the download dialog appear. What should I use as code to accomplish that approach.
Here are some general rules on PDFs:
-
You can NEVER guarantee they will download into the browser window, because it is a user setting, which is dependant on the plug-ins or other controllers they have set.
-
There is one way I know of to guarantee the full download of a PDF. That is to either Zip (PC and Mac) or Stuff (Mac) the file first.
-
The browser you use will also affect how the PDF downloads. It may download fine in Internet Explorer, but open the Acrobat plug-in for Netscape. |