Tengo un slide de imagenes con javascript. me funciona perfecto ... lo k que necesito es que al linkear los numeros de la parte de abajo me salga la imagen indicada ... por ejemplo si presiono el numero 2 me salga la imagen k aparecion en segundo lugar y pare (stop) el slide ... Bueno asi sucesivamentecon los demas numeros ... y claro al precionar play vuelva a ejecutar el slide.
Muchas gracias.
Este es la muetra
http://www.dpstudioperu.com/slide/
El codigo que utilice es el siguiente:
ENTRE <head></head>
<script language="JavaScript">
var slideCache = new Array();
function RunSlideShow(pictureName,imageFiles,displaySecs)
{
var imageSeparator = imageFiles.indexOf(";");
var nextImage = imageFiles.substring(0,imageSeparator);
if (document.all)
{
document.getElementById(pictureName).style.filter="blendTrans(duration=2)";
document.getElementById(pictureName).filters.blendTrans.Apply();
}
document.getElementById(pictureName).src = nextImage;
if (document.all)
{
document.getElementById(pictureName).filters.blendTrans.Play();
}
var futureImages= imageFiles.substring(imageSeparator+1,imageFiles.length)
+ ';' + nextImage;
setTimeout("RunSlideShow('"+pictureName+"','"+futureImages+"',"+displaySecs+")",
displaySecs*1000);
imageSeparator = futureImages.indexOf(";");
nextImage = futureImages.substring(0,imageSeparator);
if (slideCache[nextImage] == null) {
slideCache[nextImage] = new Image;
slideCache[nextImage].src = nextImage;
}
}
</script>
EN <body>
<img border="1" src="f1.jpg" width="400" height="448" id="Fotos">
<script language="JavaScript">
RunSlideShow("Fotos","f1.jpg;f2.jpg;f3.jpg;f4.jpg;"
+ "f5.jpg",5);
</script>