Jump to Real's How-to Main page

Load an HTML page depending on the browser type

<SCRIPT>
if (navigator.appName == "Microsoft Internet Explorer")
  document.write('<META HTTP-EQUIV="REFRESH" CONTENT="1;URL=msie.html">');
else
  document.write('<META HTTP-EQUIV="REFRESH" CONTENT="1;URL=netscape.html">');
</SCRIPT>
The browser version can be obtain with
browserversion = parseint(navigator.appversion);

If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]