SOURCE CODE FOR BROWSER REDIRECT
Cut and paste this, then plug in your URLs, etc...

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") {
  document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER = NO BORDER = 0>' +
    '<FRAME NAME = "real" SRC = "demonet.html"' +
    ' SCROLLING = AUTO MARGINHEIGHT = 2 MARGINWIDTH = 2>' +
    '</FRAMESET>');
  }
if (ver == "n3") { 
  document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER = NO BORDER = 0>' +
    '<FRAME NAME = "real" SRC = "demonet.html"' +
    ' SCROLLING = AUTO MARGINHEIGHT = 2 MARGINWIDTH = 2>' +
    '</FRAMESET>');
  }
   if (ver == "n2" || ver == "e3") {
  document.write('<FRAMESET ROWS = "100%, *" FRAMEBORDER = NO BORDER = 0>' +
    '<FRAME NAME = "real" SRC = "demoexp.html"' +
    ' SCROLLING = AUTO MARGINHEIGHT = 2 MARGINWIDTH = 2>' +
    '</FRAMESET>');
  }

</SCRIPT>

BACK TO BASICS

If you arrived here via a search engine please click here to open the full site!