Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/07/2009, 01:42
Avatar de Legoltaz
Legoltaz
 
Fecha de Ingreso: agosto-2008
Mensajes: 325
Antigüedad: 15 años, 8 meses
Puntos: 6
jQuery: Problemas con toggle

Tengo una lista de <a>, y quiero que al pasar el ratón por encima se produzca un efecto con jQuery:

Código JavaScript:
Ver original
  1. $(document).ready(function(){
  2. $("a").mouseover(function(){
  3. $(this).toggle(
  4. function(){
  5. $(this).animate({"font-size":"20px"},"slow");
  6. },
  7. function(){
  8. $(this).animate({"font-size":"16px"},"slow");
  9. }
  10. );
  11. });
  12. });

Sencillamente no ocurre nada y no encuentro el fallo.