May 9, 2001 - Checking the Browser/Plug-in Combination
May 9, 2001|
Checking the Browser/Plug-in Combination
Tips: May 2001
Yehuda Shiran, Ph.D.
(winIEpass || NNpass). The boolean variable
4 or higher:
winIEpass = ((navigator.appName.indexOf("Microsoft") != -1) && (navigator.appVersion.indexOf("Windows") != -1)) && (parseFloat(navigator.appVersion) >= 4) ? true : false;
The boolean variable
4 or higher, and
NNpass = ((navigator.appName == "Netscape") && (navigator.userAgent.indexOf("Mozilla") != -1) && (parseFloat(navigator.appVersion) >= 3) && (navigator.javaEnabled())) ? true : false;
One of the problems of plug-ins is that if the user does not have the right browser version or the latest plug-in version, he or she will receive an error message, a broken plug-in icon, or other warning. For Flash graphics, it is suggested to have a second non-Flash version of your Web page. A simpler solution is to embed the interactive audio if and only if the browser/plug-in combination can play it. If it cannot, the audio is disabled and no error messages are displayed. Also, there are no forced plug-in installs. End users will leave your page very quickly once they are being troubled with plug-in installs and error messages. Use the variables above to conditionally embed your sound tracks.