
BUG Problem PDF file reading in some IE6's
I am using redirection on the server. That opens a PDF file in a new window for all users with IE 6.0 without any problem. Make sure they have latest version (5.05) of PDF Reader.
Hi all,
There seems to be a problem in the following case:
IE 6.0.2600.0000 with Q321232, on Win2K client
so
a PDF file called from within a link to an asp file works fine for the client browser.
a PDF file called from within a function call to the same asp file works not fine for SOME IE6 browsers and doesn't want to open the PDF file automatically. The "open" button even is disabled. When the client wants to "save" the file he gets the following error: Internet explorer cannot download document.asp from www.site.com. Internet Explorer was not able to open the Internet site. The requested site is either unavailable or cannot be found. Please try again later.
works fine in (all) cases:
<a href="/_downloads/document.asp" target="_blank">PDF file</a>
doesn't work well on some IE6 browsers:
<table>
<tr onclick="wfcWindowOpen('/_downloads/document.asp')">
<td>PDF file</td>
</tr>
</table>
where the function wfcWindowOpen is:
function wfcWindowOpen(psURL, psName) {
if (!psURL) return
window.setTimeout("window.open('" + psURL + "'" + (psName? ",'" + psName + "'": "") + ")",10)
}
adding '_blank' to the function call in the <tr> doesn't help !
What is wrong with the function call approach ?
Why only for some IE6 browsers ?
Remark: the IE6 browsers with the PDF problem do not have any problem with .doc or .xls files ! (<grin>). We first tought the course was the PDF reader !
Thanks for any explanation
Joost Devos