edog Posted July 20, 2010 Report Share Posted July 20, 2010 Estimados. Como puedo hacer un pequeño javascript o otro lenguaje que cuando alguien abre la web con explorer 6 o inferior le salga un mensaje o direccione a otro link... saludos ;) Link to comment Share on other sites More sharing options...
alvaroxz Posted July 20, 2010 Report Share Posted July 20, 2010 (edited) Estimados. Como puedo hacer un pequeño javascript o otro lenguaje que cuando alguien abre la web con explorer 6 o inferior le salga un mensaje o direccione a otro link... saludos ;) Viendo tu otro post, te reptito no te calientes la cabeza... Pero es facil <? $get = 0; $user = $_SERVER['HTTP_USER_AGENT']; $ie6Name = "ACA EL NOMBRE DE IE6 (no se cual es) creo que es IE 6.0"; if(strpos($ie6Name, $user) === false){ $get = 1; } ?> <html> <head> function ie6warn(see){ if(see == 1){ alert("Tu navegador es como la ra..."); } } </head> <body onload="ie6warn(<?=$get;?>)"> <body> </html> Edited July 20, 2010 by alvaroxz Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now