Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/05/2010, 13:38
Avatar de Nekeniehl
Nekeniehl
 
Fecha de Ingreso: julio-2009
Ubicación: Berlin, Alemania / Granada, España
Mensajes: 132
Antigüedad: 14 años, 9 meses
Puntos: 6
Respuesta: Problema slider

Si pones una variable $cont por ejemplo que aumente con el bucle antes de cada id?

Código PHP:
Ver original
  1. while ($i < $num) {
  2.                                                 include("datosnoticia.php");                                        
  3.                                                 $Altura=70;//$Altura=140; OJO PARA subir y bajar las flechas
  4.                                             $cont++?>
  5.             <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-"<?php echo $cont?>><a href="#fragment-"<?php echo $cont ?>><img src="<?php echo $RutaFotos?>/1.jpg" alt="" width="80" height="50" /><span><?php echo $TitNotic?></span></a></li>
  6.             <?php                
  7.                                             ++$i;
  8.                                             } //do while