If you are interested in presenting your pages without pesky alerts and code error messages, it is necessary to write different versions for different browsers. Below is a script that will load the proper page to your viewers browser. |
<SCRIPT LANGUAGE = "JavaScript"> bName = navigator.appName; bVer = parseInt(navigator.appVersion); if (bName == "Netscape" && bVer >= 4) ver = "n4"; else if (bName == "Netscape" && bVer == 3) ver = "n3"; else if (bName == "Netscape" && bVer == 2) ver = "n2"; else if (bName == "Microsoft Internet Explorer" && bVer >= 4) ver = "n3"; else if (bName == "Microsoft Internet Explorer" && bVer <= 3) ver = "e3";
if (ver == "n4") {
</SCRIPT> |
If you arrived here via a search engine please click here to open the full site!