Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/06/2010, 10:21
Avatar de pempas
pempas
 
Fecha de Ingreso: diciembre-2003
Ubicación: Barcelona
Mensajes: 985
Antigüedad: 20 años, 4 meses
Puntos: 6
No me funciona este código en IE 6

Hola!

¿Alguien tiene idea de porque esté código no funciona en IE6?

Código PHP:
$(document).ready(function() {
 $(
"ultopnav li").hover(function() { //Hover over event on list item
  
$(this).css({ 'background' '#1376c9 url(topnav_active.gif) repeat-x'}); //Add background color and image on hovered list item
  
$(this).find("span").show(); //Show the subnav
 
} , function() { //on hover out...
  
$(this).css({ 'background' 'none'}); //Ditch the background
  
$(this).find("span").hide(); //Hide the subnav
 
});
}); 
Funciona en todo menos en IE6, no llega a mostrar el span que está englobado en la etiqueta <li>

Muchas gracias por su ayuda!!