Hey,
I really have no reason why those wouldn't work for you. I'm not the best with plug-ins, but I'll assume your code is correct. Here's how I'd do it ... one of two ways. Hopefully both of them should work.
Code:
var flashinstalled = 0;
if(navigator.appName=="Netscape" && navigator.plugins["Shockwave Flash"]){
flashinstalled = 1;
}
if(flashinstalled){
alert("You have Flash");
DisplayInfo();
}
or:
Code:
if(navigator.appName=="Netscape" && navigator.plugins["Shockwave Flash"]){
alert("You have Flash");
DisplayInfo();
}
Hope that helps,
aDog
Bookmarks