Tengo este script:
<html>
<head>
<title>Switching Text</title>
<style>
.let{
color:red;
font-family:Verdana;
font-weight:bold;
width:400;
filter:Shadow (Color="#699CC", Direction="135")wave(Add="0", Phase="4", Freq="9", LightStrength="20", Strength="1") ;
}
</style>
<script language="JavaScript">
/*
Animated Back and Switch Copyrighte Lars Bosboom (http://home.planet.nl/~asattler)
*/
var regel = 0; // fila en donde comienza
var size = 20; // tamaño de la fuente
var delay = 1200; // retardo entre los mensajes en MiliSegs.
var speed = 20; // Hmmmmmm
var step = 10; // tamaño de cada paso
var sent = new Array()
{
sent[0] = " Cañada del Hoyo ";
sent[1] = " Cañada del Hoyo ";
sent[2] = "Bienvenidos,Wellcome";
sent[3] = " Cañada del Hoyo ";
sent[4] = "Venid a visitarnos";
sent[5] = "¡Será inolvidable!";
}
sent[sent.length] = sent[0];var veran = 0;var num = 0;var x = 0;//Don't change
function moto(){output = "";for(letter = 0;letter<sent[regel+1].length;letter++){
if(veran == letter){if(x==0){num=num+step;}else{num=num-step;}gr = size-num;
if(gr < 1){x=1;gr=1;}if(gr>size)gr=size;
output += "<font style='font-size:"+gr +"pt'>"+sent[regel+x].substring(letter, letter+1)+"</font>";
if(num < 0 && x==1){veran++;x=0;}}else{if(veran > letter){
output += "<font style='font-size:"+size +"pt'>"+sent[regel+1].substring(letter, letter+1)+"</font>";
}else{output += "<font style='font-size:"+size +"pt'>"+sent[regel].substring(letter, letter+1)+"</font>";}}}
return output;}function startmot(){if(regel==sent.length-1)regel=0;balk.innerHTML = moto();
if(veran==sent[regel+1].length){regel++;veran = 0;setTimeout("startmot()", delay);}else{
setTimeout("startmot()", speed);}}</script>
</head>
<body onload="startmot()">
<td width="408"><table style="cursor:hand"
onclick="this.style.behavior='url(#default#homepag e)'; this.setHomePage('http://www.canadadelhoyo.com');"
align="center" id="tafel" bgcolor="#DDDDDD" width="400" height="48">
<tr>
<td bgcolor="666666"><div class="let" ID="balk" align="center"></div></td>
</tr>
</table>
</body>
</html>
Quisiera saber si es posible añadir alguna imagen donde esl sent[]
Y si es posible... ¿Cómo?
Gracias.