E-mail List Archives
Re: Open in new window
From: Patrick H. Lauke
Date: Apr 16, 2010 4:48AM
- Next message: Patrick H. Lauke: "Re: Open in new window"
- Previous message: Simius Puer: "Re: Open in new window"
- Next message in Thread: Patrick H. Lauke: "Re: Open in new window"
- Previous message in Thread: Simius Puer: "Re: Open in new window"
- View all messages in this Thread
On 16/04/2010 10:15, Simius Puer wrote:
> "Best of all, *prevent the browser from opening the document* in the first
> place. Instead *offer users the choice to save the file on their harddisk or
> to open it in its native application* (Adobe Reader for PDF, PowerPoint for
> slides, etc.). Unfortunately, doing so requires a bit of technical trickery:
> you have to add an extra HTTP
> header<http://www.unrealtower.org/pdfdownload>to the transmission of
> the offending file. The header line to be added is
> "Content-disposition: Attachment". If possible, also add ";
> filename=somefile.pdf" at the end of this line, to give the browser an
> explicitfilename if the user chooses to save the file." [Source:
> http://www.useit.com/alertbox/open_new_windows.html]
>
> Note that the *users right to choose is not removed*...a critical point.
Well, apart from the choice of opening it inside the browser via
plugin...which some users still may want.
P
--
Patrick H. Lauke
- Next message: Patrick H. Lauke: "Re: Open in new window"
- Previous message: Simius Puer: "Re: Open in new window"
- Next message in Thread: Patrick H. Lauke: "Re: Open in new window"
- Previous message in Thread: Simius Puer: "Re: Open in new window"
- View all messages in this Thread