How to redirect visitors to different pages depending upon their browser using java script. Is it possible? Yes, it’s possible. Here is the code, <script type=”text/javascript”> <!– var bname = navigator.appName; if (bname.search(/netscape/i) == 0) { window.location=”netscape.html”; } else if (bname.search(/microsoft/i) == 0) { window.location=”internetexplorer.html”; } else { window.location=”other_browsers.html”; } //–> </script> After assigning the [...]



Posted in
Tags: