HTML - Syntax de como mostrar imagenes dentro de una ...

 
Vista:

Syntax de como mostrar imagenes dentro de una ...

Publicado por nando (1 intervención) el 14/12/2005 13:05:57
Hola gente!!
tengo una célula <TD> de una Table en la cual quiero mostrar tres imágenes , una de cada vez por un tiempo determinado cada.
Imágen1__tiempo1,
Imágen2__tiempo2,
Imágen3__tiempo3
repite de nuevo.
Asi mientras está abierta la página.

Cómo hacerlo en HTML???
Les agradezco mucho si alguien se anima a darme esta manito.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Syntax de como mostrar imagenes dentro de una

Publicado por Daniel Ulczyk (580 intervenciones) el 14/12/2005 14:18:17
Mirá, acá tenés un código que seguramente no te será difícil adaptar (nombre de las imágenes, dimensiones, etc).
Conservá los créditos porque si mal no recuerdo, el script es gratis con esa condición. Espero te sea útil (consultá la página, seguramente de los parámetros para distintos efectos de transición). Saludos!

=====================================
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script>
// (C) 2000 www.CodeLifter.com http://www.codelifter.com
var slideShowSpeed = 10000
var crossFadeDuration = 5
var Pic = new Array()

Pic[0] = 'images1.jpg'
Pic[1] = 'images2.jpg'
Pic[2] = 'images3.jpg'
Pic[3] = 'images4.jpg'
Pic[4] = 'images5.jpg'

var t
var j = 0
var p = Pic.length
var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = Pic[i]
}
function runSlideShow(){
if (document.all){
document.images.SlideShow.style.filter="blendTrans(duration=2)"
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.SlideShow.filters.blendTrans.Apply()
}
document.images.SlideShow.src = preLoad[j].src
if (document.all){
document.images.SlideShow.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="VU" height=128 width=128> <img src="images1.jpg" name='SlideShow' width=200 height=140 alt="texto ALT optativo"></td>
</tr>
</table>
</body>
<body onload="runSlideShow()">
</html>
=====================================
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar