Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/05/2014, 08:41
Avatar de Italico76
Italico76
 
Fecha de Ingreso: abril-2007
Mensajes: 3.303
Antigüedad: 17 años, 1 mes
Puntos: 292
Respuesta: añadir autoplay a slider de imágenes

Hazla auto-ejecutable (autoinvocada):

Código Javascript:
Ver original
  1. $(document).ready(
  2.  
  3. (function(){
  4.  
  5. $("#Slider_Content").fadeIn();
  6. $("#First_Obj").fadeIn();
  7.  
  8. $("#First_Controle").click(function(e){
  9. $("#First_Obj").fadeIn();
  10. $("#First_Controle").animate({color: "#000000"}, "slow");
  11.  
  12. $("#Second_Obj").fadeOut();
  13.  
  14.  
  15. $("#Third_Obj").fadeOut();
  16.  
  17.  
  18. });
  19.  
  20. $("#Second_Controle").click(function(e){
  21. $("#First_Obj").fadeOut();
  22. $("#Second_Obj").fadeIn();
  23. $("#Third_Obj").fadeOut();
  24. });
  25.  
  26. $("#Third_Controle").click(function(e){
  27. $("#First_Obj").fadeOut();
  28. $("#Second_Obj").fadeOut();
  29. $("#Third_Obj").fadeIn();
  30. });
  31.  
  32. })()
  33. );

Prueba, solo agregue unos parentesis
__________________
Salu2!