Redirect user depending on browser : Hyper Link : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Hyper Link »

 

Redirect user depending on browser




<html>
<head>
<script type="text/javascript">
function redirectme(){
    bname=navigator.appName
    if (bname.indexOf("Netscape")!=-1)  {
      window.location="http://www.navioo.com"
      return
  }
    if (bname.indexOf("Microsoft")!=-1)  {
      window.location="http://www.navioo.com"
      return
  }
    window.location="http://www.navioo.com"
}
</script>
</head>
<body onload="redirectme()">
</body>
</html>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Hyper Link