Por fín conseguí hacer algo, haciendolo de otra manera consigo usar un boton de atras y otro de alante para pasar las imagenes, el código es
Código PHP:
<td align="right" widht="100%"><img src="<? echo $registro['imagen1']; ?>" name="photoslider"> </td>
<?
echo"</tr>";
echo "</table>";
echo "</td>";
echo "</tr>";
echo "<tr>";
?>
<input type="hidden" name="descripcion" value="<? echo $registro['descripcion']; ?>">
<?
echo "<td><table>";
?>
<td><img src="mini.php?imagen=<? echo $registro['imagen1']; ?>&tam=55x55" border="0" /></a></td>
<td> <img src="mini.php?imagen=<? echo $registro['imagen2']; ?>&tam=55x55" border="0"/></a></td>
<td><img src="mini.php?imagen=<? echo $registro['imagen3']; ?>&tam=55x55" border="0"/></a></td>
<td><img src="mini.php?imagen=<? echo $registro['imagen4']; ?>&tam=55x55" border="0"/></a></td>
<td width="300" align="right"><input name="B1" type="button" class="botones" onclick="this.form.submit()" value="Me Interesa" /></td>
</form>
<tr><table>
<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]="<? echo $registro['imagen1']; ?>"
photos[1]="<? echo $registro['imagen2']; ?>"
photos[2]="<? echo $registro['imagen3']; ?>"
photos[3]="<? echo $registro['imagen4']; ?>"
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>
<td>
<input type="button" value="<<Atrás" name="B2" class="botones"
onClick="backward()"> <input type="button" value="Siguiente>>" name="B1"
onClick="forward()" class="botones"><br>
</center></div>
</td></tr>
</table>
</table> </tr>
</body>
</html>
Ahora tengo que ver como lo puedo hacer para poder clickear sobre las minis y haga lo mismo, algo es algo por lo menos, diosssss..... iré informando a ver