Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/07/2009, 15:13
Avatar de pato12
pato12
 
Fecha de Ingreso: septiembre-2007
Ubicación: Salta
Mensajes: 1.620
Antigüedad: 17 años, 4 meses
Puntos: 101
Respuesta: ¿¿como evitar acceso a web desde ie 6??

Prueba haci:
Código javascript:
Ver original
  1. <script type="text/javascript">
  2. <!--
  3. if (/MSIE (5\.5|6)/.test(navigator.userAgent)){
  4.     document.getElementById('web').style.display='none';
  5.     // $("#web").hide(); <------- jQuery
  6. }
  7. -->
  8. </script>
Pon toda tu web en un div o algo con el id "web" y se ocultara para IE 5.5 y 6.
Tambien pudes usar <!--[if IE 6]>
Suerte
Salu2
__________________
Half Music - www.halfmusic.com