Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/07/2013, 01:37
Avatar de lauser
lauser
Moderator Unix/Linux
 
Fecha de Ingreso: julio-2013
Ubicación: Odessa (Ukrania)
Mensajes: 3.278
Antigüedad: 10 años, 9 meses
Puntos: 401
Respuesta: Detectar y Redirigir según sea el Navegador

Código HTML:
Ver original
  1. <title>Detectar Navegador</title>
  2. </head>
  3.  
  4.  
  5. if (navigator.appName=="Google Chrome"){
  6.    location.href="http://www.web1.com";
  7. }
  8. if (navigator.appName=="Microsoft Internet Explorer"){
  9.  
  10.    location.href="http://www.web2.com";
  11. }
  12.  
  13. </body>
  14. </html>
__________________
Los usuarios que te responden, lo hacen altruistamente y sin ánimo de lucro con el único fin de ayudarte. Se paciente y agradecido.
-SOLOLINUX-