
October 4th, 1999, 02:27 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Thanks a lot. I was able to make a function to detect the plug-in that looks like this:
function PdfMimeOk()
{
if (navigator.appName == "Netscape") {
i = navigator.mimeTypes.length;
while (i--) {
if (navigator.mimeTypes[i].suffixes == "pdf")
return true;
}
}
return false;
}
This works fine in Netscape (therefore the check), but in Internet Explorer, the navigator.mimeTypes (as well as the navigator.plugins) arrays are always empty.
Any ideas what to do in Internet Explorer?
|