10/09/2007, 07:29
|
|
Re: Validar esto codigo: Cita: <script type="text/javascript">
<!--
var imagenes=new Array()
imagenes[0]=new Image (380,288);
imagenes[0].src="img/b-1.jpg"
imagenes[1]=new Image (399,291);
imagenes[1].src="img/b-+.jpg"
imagenes[2]=new Image (248,289);
imagenes[2].src="img/b-2.jpg"
imagenes[3]=new Image (215,366);
imagenes[3].src="img/b-+.jpg"
imagenes[4]=new Image (215,366);
imagenes[4].src="img/b-3.jpg"
imagenes[5]=new Image (215,366);
imagenes[5].src="img/b-+.jpg"
imagenes[6]=new Image (215,366);
imagenes[6].src="img/b-4.jpg"
imagenes[7]=new Image (215,366);
imagenes[7].src="img/b-5.jpg"
imagenes[8]=new Image (215,366);
imagenes[8].src="img/b-6.jpg"
cont=0
function presImagen()
{
if (document.all){
document.getElementById('foto').filters.blendTrans .apply()
document.getElementById('foto').src=imagenes[cont].src
document.getElementById('foto').filters.blendTrans .play()
}
else
{
document.images.foto.src = imagenes[cont].src
}
if (cont < imagenes.length-1)
{cont ++}
else
{cont=0}
tiempo=window.setTimeout('presImagen()',3000)
}
-->
</script> Cita: <a href="#"><img src="../img/b-1.jpg" alt="" width="185" height="75" class="img-nor" id="foto" style="filter: blendTrans(duration=3)" /></a> Un saludo |