On Jul 23, 2007, at 3:31 PM, Patrick H. Lauke wrote:

> "Content-disposition: attachment; filename=document.pdf"

Joyce Evans wrote:
This seems to be a good idea. Could you please give an example where this code would be placed on the web page or how it would fit into the code? I’m having a “blank” moment. Thanks.

You would put that in your server configuration (e.g. in Apache's httpd.conf or in an .htaccess file)



I am curious: because browsers treat PDF differently, shouldn't it be better to provide an info for user to choose download or open new window for PDF with right click?

With Safari, it's indeed irritating that PDF opens in the same window unless I right click my mouse for options; Firefox asks how I want to view the PDF file. Despite my passion for the use of PDF, I don't always want to download PDF from websites though, especially when there is no telling the link I am gonna to click is PDF or just a link.

I don't think I like it much that the only option I have is download, some websites do exactly what you suggested, especially the Adobe, which forces to open up my Acrobat Professional even though I have specifically tell my browsers use Preview only for PDF. In the view of usability, I think this option falls short.


tee

*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to