Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/05/2008, 10:38
darla33
 
Fecha de Ingreso: abril-2008
Mensajes: 9
Antigüedad: 16 años
Puntos: 0
Galeria de imagenes sencilla no carga!!!


hola tengo el siguiente problema copie un script, y las imagenes se ven si pongo las mismas en la carpeta public_html, pero las imagenes la tengo en la carpeta"IMAGE" como hago para que las muestre. Gracias les envio el script.
Me es muy dificil ...tengo la cabeza para atras-

<td width="100%" align="center"><img src="r101_1.jpg" width="300" height="300" name="photoslider"></td>
</tr>
<tr>
<td width="100%" align="center"><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]="r101_1.jpg"
photos[1]="r101_2.jpg"
photos[2]="r101_3.jpg"
photos[3]="r101_4.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>
&nbsp;</p>
</center></div>
</form>
</td>