Ver Mensaje Individual
  #6 (permalink)  
Antiguo 20/09/2010, 09:15
Avatar de David
David
Moderador
 
Fecha de Ingreso: abril-2005
Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años
Puntos: 839
Respuesta: Mostrar <li> por orden en lugar de random

El problema es que estás sobreescribiendo la función show. Prueba esto:
Código Javascript:
Ver original
  1. function nextTip() {
  2.     var child = Number($("#tips").data("current"));
  3.    
  4.     $("#tips li").hide();  
  5.     $("#tips li:nth-child(" + i + ")").fadeIn("fast");
  6.    
  7.     child++;
  8.     $("#tips").data("current", child);
  9. }
  10.  
  11. $(document).ready(function(){
  12.     var pause = 5500;
  13.    
  14.     $("#tips").data("current", 1);
  15.     nextTip();
  16.    
  17.     setInterval(nextTip, pause);
  18. });
__________________
Por favor, antes de preguntar, revisa la Guía para realizar preguntas.