A homepage I work with has several links to pdf files and told them to open in a new window. But in many browsers this does not work at all. In Camino and Firefox, it just downloads the file without asking. If I right click and tell it to open in a new tab, it does not happen.
I have been so happy with the work I have done and hope not that it is all useless, because I have made some stupid mistake along the way!
I am replacing an old homepage for my job and it is quite important that it works perfectly!
How browsers deal with PDFs can be very hit and miss and is often governed by the user’s preferences set within the browser interface and/or the plugin used by the browser.
I am afraid that you are never going to get it to work “Perfectly” across all browsers.
Perhaps the only option for consistent handling would be to force the
browser to download the file by modifying a server file. Obviously
this isn’t what you originally wanted but at least it would provide
consistent behavior across browsers, as far as I know.
Todd
//Place in the .htaccess file:
<FilesMatch “*.pdf”>
ForceType application/octet-stream
On Jan 18, 2009, at 1:33 PM, DeltaDave wrote:
How browsers deal with PDFs can be very hit and miss and is often
governed by the user’s preferences set within the browser interface
and/or the plugin used by the browser.
I am afraid that you are never going to get it to work “Perfectly”
across all browsers.