Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/02/2012, 13:27
oliverarthurnardi
 
Fecha de Ingreso: noviembre-2010
Ubicación: aun no se donde vivir
Mensajes: 112
Antigüedad: 14 años, 2 meses
Puntos: 3
Porque esto no me funciona en Chrome

me funciona en todos, hasta en IE6. Me he quedado un poco flipado cuando me funciono en IE6 y el chrome no me funciona. No se que puede ser. Espero que me podeís ayudar. Un saludo a todos.

Código Javascript:
Ver original
  1. <script type="text/javascript">
  2.  
  3. $(document).ready(function() {
  4.  
  5.     $('#home').click(function(){
  6.         $('#footer').hide();
  7.         $('html').animate({scrollTop: '0'}, 'slow');
  8.         return false;
  9.     });
  10.    
  11.     $('.lista1').click(function(){
  12.         $('#footer').hide();
  13.         $('html').animate({scrollTop: '1114px'}, 'slow');
  14.         return false;
  15.     });
  16.  
  17.    
  18.     $('.lista').click(function(){
  19.         $('#footer').hide();
  20.         $('html').animate({scrollTop: '2138px'}, 'slow');
  21.         return false;
  22.     });
  23.    
  24.     $('#contact1').click(function(){
  25.         $('#footer').show();
  26.         $('html').animate({scrollTop: '3412px'}, 'slow');
  27.         return false;
  28.     });
  29.     $('html').animate({scrollTop: '0'}, 0);
  30.     $('#footer').hide();
  31.    
  32.  
  33.  
  34. });
  35. </script>