Reply to Re: target="_blank"

Your name:

Reply:


Posted by Jose on 01/07/06 18:17

> (1) Not all browsers are configured to open a PDF in the browser
> window; some will launch an external application. In that case, the
> user will end up with a useless, blank extra window.

Yeah, I've seen that. But instead of the target tag, how about
a header line
"Content-disposition: Attachment" and maybe
"; filename=somefile.pdf" after that

Also, where would this header go?

> (2) Some people (as myself) often prefer to download a PDF file for
> later viewing.

That option remains if you trick-click. I would just alter the default
behavior.

Jose
--
You can choose whom to befriend, but you cannot choose whom to love.
for Email, make the obvious change in the address.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация