Ver Mensaje Individual
  #5 (permalink)  
Antiguo 24/02/2006, 10:57
gustavowd
 
Fecha de Ingreso: febrero-2006
Mensajes: 57
Antigüedad: 19 años, 2 meses
Puntos: 0
Al zuwaga
te comento que estube trabajando con esta galeria q es la que me habia resultado mas interesante.

Código:
<body>
<table border="0" cellpadding="0">
  <caption><strong>Air Show Photos</strong></caption>
  <tr>
    <td width="100%"><img src="images/2.jpg" width="300" height="240" name="photoslider"></td>
  </tr>
  <tr>
    <td width="100%"><form method="POST" name="rotater">
      <div align="center"><center><p><script language="JavaScript1.1">
var photos=new Array()
var which=0

/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photos[0]="images/1.jpg"
photos[1]="images/2.jpg"
photos[2]="images/1.jpg"
photos[3]="images/2.jpg"
photos[4]="images/1.jpg"


function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which]
}
}

function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
}
else window.status='End of gallery'
}
</script><input type="button" value="&lt;&lt;Back" name="B2"
      onClick="backward()"> <input type="button" value="Next&gt;&gt;" name="B1"
      onClick="forward()"><br>
      <a href="#" onClick="which=1;backward();return false"><small>Start Over</small></a></p>
      </center></div>
    </form>
    </td>
  </tr>
</table>

</body>
</html>
Claro, yo lo que hacia ( debe ser una chanchada) es tirar antes del comienzo del Java la conexion a la base
y los response los tiraba luego de photos[0]=
y luego el cierre del la conexion luego del </table>, pero bueno, en realidad nunca hice algo asi y estoy algo perdido.
bueno, si de alguna manera me dicen q se puede hacer andar, seguire investigando.

Muchas gracias de nuevo
Gustavo